added jpa entity generator
parent
23d1374485
commit
bb4134a8de
|
@ -26,10 +26,10 @@ import org.springframework.stereotype.Repository;
|
|||
@Repository
|
||||
public interface {{record_type}}Repository extends PagingAndSortingRepository<{{record_type}}, {{pkey_type.name}}> {
|
||||
|
||||
Page<List<{{record_type}}>> findAll(Pageable pageable);
|
||||
Page<{{record_type}}> findAll(Pageable pageable);
|
||||
|
||||
{{#indexes}}
|
||||
Page<List<{{record_type}}>> findAllBy{{namePascalCase}}(@NonNull {{type.name}} {{name}}, Pageable pagination);
|
||||
Page<{{record_type}}> findAllBy{{namePascalCase}}(@NonNull {{type.name}} {{name}}, Pageable pagination);
|
||||
{{/indexes}}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue