I want to sort my entities by the name attribute with ascending direction and ignoring the case.
I've created an EntityRepository extending the Repository interface of Spring Data. Then I've declared the following find method:
List<Entity> findByNameOrderByNameIgnoreCaseAsc(String name);
But I get this error "No property ignoreCase found for type".
I can't find any reference to this case in the Spring Data JPA documentation.
I'm using spring-data-jpa version 1.11.0.
findByNameOrderByNameAscIgnoreCase(String name)
(reference) – Indiana