Author: epbernard
Date: 2008-08-13 10:59:47 -0400 (Wed, 13 Aug 2008)
New Revision: 15046
Modified:
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/City.java
Log:
JBPAPP-1070 duplicate columns in MySQL are not allowed in order by
Modified: annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/City.java
===================================================================
---
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/City.java 2008-08-12
20:40:14 UTC (rev 15045)
+++
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/City.java 2008-08-13
14:59:47 UTC (rev 15046)
@@ -42,7 +42,7 @@
}
@OneToMany(mappedBy = "city")
- @OrderBy("streetNameCopy, streetName, id")
+ @OrderBy("streetNameCopy, id")
public synchronized List<Street> getStreets() {
return streets;
}
Show replies by date