Sort « HBM « JPA Q&A





1. Problem with sorting on child object in Hibernate when order-by is present in .hbm files?    stackoverflow.com


I am using Hibernate3.jar in our App.While trying to fetch some objects using the foreign key we used the order-by clause on the collection as shown below
...

2. Sorting a Many-to-Many Set in an hbm file    forum.hibernate.org

I've found people asking this question but no definitive answer as of yet: I have two tables "speaker" & "speech_topic" plus the join table "speaker_has_topic". Each class has a java.util.Set of the other's type wit a many-to-many relationship since speakers may have multiple topics and topics may have multiple speakers. I display the results on a page with an iterator. I ...