Description
Stefan Gybas opened DATAREST-976 and commented
I have a JPA entity with embedded class and a corresponding PagingAndSortingRepository
that is accessed using Spring Data REST. I like to sort by a property in the embedded class.
Please see https://github.com/sgybas/spring-data-sorting-bug for a repro. The test passes with Spring Boot 1.4.3 (Spring Data Hopper-SR) but fails with Spring Boot 1.5.0.RC1 (Spring Data Ingalls RC1). The test also passes if I sort by the entity's id so the problem only occurs with embedded classes
Affects: 2.6 RC1 (Ingalls)
Reference URL: https://github.com/sgybas/spring-data-sorting-bug
Referenced from: pull request #251, and commits 99f4953, 3c6f311, 5212d13, ffe96e4, 69c3937, 97bae7a, 0f9ee7d, c1fb7bf
Backported to: 2.6 GA (Ingalls)
1 votes, 14 watchers