Author: epbernard
Date: 2006-11-30 14:56:14 -0500 (Thu, 30 Nov 2006)
New Revision: 10897
Modified:
trunk/Hibernate3/src/org/hibernate/mapping/Collection.java
Log:
HHH-2274 use ordered collection when manyToManyOrderBy is used
Modified: trunk/Hibernate3/src/org/hibernate/mapping/Collection.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/mapping/Collection.java 2006-11-30 17:08:46 UTC
(rev 10896)
+++ trunk/Hibernate3/src/org/hibernate/mapping/Collection.java 2006-11-30 19:56:14 UTC
(rev 10897)
@@ -599,7 +599,7 @@
}
public boolean hasOrder() {
- return orderBy!=null;
+ return orderBy!=null || manyToManyOrderBy!=null;
}
public void setComparatorClassName(String comparatorClassName) {
Show replies by date