openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hthom...@apache.org
Subject svn commit: r1575444 - /openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java
Date Fri, 07 Mar 2014 23:00:00 GMT
Author: hthomann
Date: Fri Mar  7 23:00:00 2014
New Revision: 1575444

URL: http://svn.apache.org/r1575444
Log:
OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - made test update.

Modified:
    openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java

Modified: openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java?rev=1575444&r1=1575443&r2=1575444&view=diff
==============================================================================
--- openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java
(original)
+++ openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMultipleLevelDerivedIdentity1.java
Fri Mar  7 23:00:00 2014
@@ -39,7 +39,16 @@ public class TestMultipleLevelDerivedIde
 	private static String BOOK_NAME    = "foo";
 	private static int    NUM_PAGES    = 3;
 	private static int    NUM_LINES    = 20;
+
     public void setUp() throws Exception {
+        setSupportedDatabases(org.apache.openjpa.jdbc.sql.DerbyDictionary.class,
+            org.apache.openjpa.jdbc.sql.DB2Dictionary.class, 
+            org.apache.openjpa.jdbc.sql.OracleDictionary.class);
+        
+        if (isTestsDisabled()) {
+            return;
+        }
+        
         super.setUp(DROP_TABLES, Library1.class, Book1.class, Page1.class,
             BookId1.class, PageId1.class, Line1.class, LineId1.class,
             "openjpa.RuntimeUnenhancedClasses", "unsupported");



Mime
View raw message