Hibernate version: 3.0.5
Hello,
What I would like to see, is the ability to define order-by in the collection mappings with properties rather than db columns. The reason is that I often need to sort collection results on data in a table other than said collection table. For example...
<set name="people" order-by="address.city"/>
There's more of an explanation in this post here from someone asking the same question...
http://forum.hibernate.org/viewtopic.ph ... ed+orderby
I'm in the process of porting an app from another ORM to Hibernate. This is one of the few remaining issues I have because I don't see an easy workaround.
So my questions is, is it possible now (i.e. am I missing something?) or will it be in the near future? I checked the release notes for 3.1 and didn't see anything.
Thanks