Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r15046 -
 annotations/trunk/src/test/org/hibernate/test/annotations/onetomany.

hibernate-commits

2008-08-13


Author LoginPost Reply
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)
@@(protected) @@
 }

 @OneToMany(mappedBy = "city")
-  @OrderBy("streetNameCopy, streetName, id")
+  @OrderBy("streetNameCopy, id")
 public synchronized List<Street> getStreets() {
   return streets;
 }

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.