Author: jcosta(a)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;
}
Show replies by date