Author: stliu
Date: 2011-12-19 03:44:38 -0500 (Mon, 19 Dec 2011)
New Revision: 20998
Modified:
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/emops/Competition.java
Log:
JBPAPP-7538 Test in MergeTest fails on PostgreSQL 9.1
Modified:
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/emops/Competition.java
===================================================================
---
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/emops/Competition.java 2011-12-19
08:43:31 UTC (rev 20997)
+++
entitymanager/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/ejb/test/emops/Competition.java 2011-12-19
08:44:38 UTC (rev 20998)
@@ -12,6 +12,7 @@
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
+import javax.persistence.OrderBy;
/**
* @author Emmanuel Bernard
@@ -26,6 +27,7 @@
fetch = FetchType.LAZY)
@JoinTable(name="competition_competitor")
@JoinColumn
+ @OrderBy("id")
private List<Competitor> competitors = new ArrayList<Competitor>();
Show replies by date