[hibernate-commits] Hibernate SVN: r15787 - annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Jan 14 12:13:55 EST 2009


Author: jcosta at redhat.com
Date: 2009-01-14 12:13:55 -0500 (Wed, 14 Jan 2009)
New Revision: 15787

Modified:
   annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java
Log:
JBPAPP-1070  - Removed streetName from the @OrderBy, as it causes problems on MSSQL and Sybase

Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java	2009-01-14 17:01:05 UTC (rev 15786)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java	2009-01-14 17:13:55 UTC (rev 15787)
@@ -41,7 +41,7 @@
 	}
 
 	@OneToMany(mappedBy = "city")
-	@OrderBy("streetNameCopy, streetName, id")
+	@OrderBy("streetNameCopy, id")
 	public synchronized List<Street> getStreets() {
 		return streets;
 	}




More information about the hibernate-commits mailing list