The roadmap for 3.1 says:
Quote:
add support for projection and other new features
.
While this will be useful
*, our application would actually benefit more from the ability to specify order-by and fetch-strategy on sub-criteria.
Is this planned for the 3.1 "other new features"?
I noticed that explicit code has been added to the Hibernate 3 codebase to throw a specific exception when the user tries to add an order-by to a sub-criteria.
How hard would it be to extend the Criteria API to support ordering and such on sub-criteria? Is there some kind of fundamental issue, or does it just need someone to get around to it?
* Depending of course on how the Criteria API will actually support this. Has a way forward been decided upn yet for how to specify projection?