Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hi there, first of all, I am very impressed with the framework so far. Thanks!
Let's say, we have the following Entity:
This is the embedded ID class:
These are the SQL order by clauses that various request sort parameters produce:
Hibernate sorting of embeddables seems unreliable: - column sort order does not reflect attribute order in class - direction only honored for one attribute Embeddables now sorted manually: - order of attributes and direction honored - total order mechanism will ignore already sorted primary key attributes (this too also avoid sorting the same field in two directions since total order is always ASC).