You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2012/04/30 10:09:33 UTC

svn commit: r1332095 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java

Author: struberg
Date: Mon Apr 30 08:09:33 2012
New Revision: 1332095

URL: http://svn.apache.org/viewvc?rev=1332095&view=rev
Log:
OPENJPA-2179 remove unnecessary config params

We still need the cache params, otherwise we will not
see the underlying problem.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java?rev=1332095&r1=1332094&r2=1332095&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleDistinctJoin.java Mon Apr 30 08:09:33 2012
@@ -82,16 +82,11 @@ public class TestOracleDistinctJoin exte
         OpenJPAEntityManagerFactorySPI emf =
             createEMF(Course.class, Lecturer.class, SomeEmbeddable.class,
                 "openjpa.jdbc.SchemaFactory", "native",
-                "openjpa.jdbc.DBDictionary", "org.apache.openjpa.jdbc.sql.OracleDictionary",
                 "openjpa.jdbc.SynchronizeMappings",  "buildSchema(ForeignKeys=true)",
                 "openjpa.jdbc.QuerySQLCache", "false",
-                "openjpa.DataCache", "false",
-                "openjpa.PostLoadOnMerge", "true",
-                "openjpa.DetachState", "loaded(DetachedStateField=true)",
-                "openjpa.Compatibility", "IgnoreDetachedStateFieldForProxySerialization=true",
-                "openjpa.jdbc.MappingDefaults", "ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict");
+                "openjpa.DataCache", "false" );
 
-                JDBCConfiguration conf = ((JDBCConfiguration) emf.getConfiguration());
+        JDBCConfiguration conf = ((JDBCConfiguration) emf.getConfiguration());
         DBDictionary dict = conf.getDBDictionaryInstance();
 
         if (skipTest(dict)) {