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

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Apr 6 16:29:19 EDT 2009


Author: gbadner
Date: 2009-04-06 16:29:19 -0400 (Mon, 06 Apr 2009)
New Revision: 16265

Modified:
   annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java
Log:
JBPAPP-1070 : Annotations - MSSQL/Sybase - Duplicate fields in "order by"


Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java	2009-04-06 15:10:53 UTC (rev 16264)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/onetomany/City.java	2009-04-06 20:29:19 UTC (rev 16265)
@@ -42,7 +42,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