Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
Method Detail
findAllByTenantId
@Query(value="select c from Contract c where c.tenantId = :tenantId order by LOWER(c.name)")
List<Contract> findAllByTenantId(@Param(value="tenantId")
Integer tenantId)