I've pushed the first part of the fix (to set manyToManyOrdering) to 4.3 and master branches.
I've also added a test that uses the attached test classes: org.hibernate.test.annotations.onetomany.OrderByTest.testOrderByOneToManyWithJoinTable(). This test passes on 4.3 branch and is known to fail for other reasons on master.
Peter, please check to see if this fixes your problem on 4.3 branch.
Thanks, Gail
|