Vladimir Domashnev opened DATAJPA-925 and commented
As of 1.10.2, toJpaOrder(Order, Root<?>, CriteriaBuilder) method of org.springframework.data.jpa.repository.query.QueryUtils ignores null precedence, that is provided by org.springframework.data.domain.Sort.Order nullHandling propery, which is present since 1.7.x. It is used by org.springframework.data.jpa.repository.support.SimpleJpaRepository.getQuery(Specification...), thus affecting many methods of org.springframework.data.jpa.repository.JpaRepository interface
Affects: 1.10.2 (Hopper SR2)
Reference URL: https://github.com/spring-projects/spring-data-jpa/blob/master/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java
Issue Links:
- DATAJPA-754 NullHandling.(NULLS_LAST and NULLS_FIRST) does not work
("is duplicated by")
- DATAJPA-1302 NullHandling.(NULLS_LAST and NULLS_FIRST) does not work
("is duplicated by")
- DATAJPA-1725 Using nullsFirst() or nullsLast() on Sort and JpaSort has no effect on database query
("is duplicated by")
- DATACMNS-904 NullHandling not working
("is duplicated by")
- DATAJPA-825 Take into account org.springframework.data.domain.Sort.NullHandling for JPA Criteria
4 votes, 11 watchers
Vladimir Domashnev opened DATAJPA-925 and commented
As of 1.10.2,
toJpaOrder(Order, Root<?>, CriteriaBuilder)method oforg.springframework.data.jpa.repository.query.QueryUtilsignores null precedence, that is provided byorg.springframework.data.domain.Sort.OrdernullHandling propery, which is present since 1.7.x. It is used byorg.springframework.data.jpa.repository.support.SimpleJpaRepository.getQuery(Specification...), thus affecting many methods oforg.springframework.data.jpa.repository.JpaRepositoryinterfaceAffects: 1.10.2 (Hopper SR2)
Reference URL: https://github.com/spring-projects/spring-data-jpa/blob/master/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java
Issue Links:
("is duplicated by")
("is duplicated by")
("is duplicated by")
("is duplicated by")
4 votes, 11 watchers