OPENJPA-2179 remove unnecessary config params

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


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1332095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Struberg 2012-04-30 08:09:33 +00:00
parent b15b164b6c
commit badcf47af8
1 changed files with 2 additions and 7 deletions

View File

@ -82,14 +82,9 @@ public class TestOracleDistinctJoin extends AbstractPersistenceTestCase {
OpenJPAEntityManagerFactorySPI emf = OpenJPAEntityManagerFactorySPI emf =
createEMF(Course.class, Lecturer.class, SomeEmbeddable.class, createEMF(Course.class, Lecturer.class, SomeEmbeddable.class,
"openjpa.jdbc.SchemaFactory", "native", "openjpa.jdbc.SchemaFactory", "native",
"openjpa.jdbc.DBDictionary", "org.apache.openjpa.jdbc.sql.OracleDictionary",
"openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)", "openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)",
"openjpa.jdbc.QuerySQLCache", "false", "openjpa.jdbc.QuerySQLCache", "false",
"openjpa.DataCache", "false", "openjpa.DataCache", "false" );
"openjpa.PostLoadOnMerge", "true",
"openjpa.DetachState", "loaded(DetachedStateField=true)",
"openjpa.Compatibility", "IgnoreDetachedStateFieldForProxySerialization=true",
"openjpa.jdbc.MappingDefaults", "ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict");
JDBCConfiguration conf = ((JDBCConfiguration) emf.getConfiguration()); JDBCConfiguration conf = ((JDBCConfiguration) emf.getConfiguration());
DBDictionary dict = conf.getDBDictionaryInstance(); DBDictionary dict = conf.getDBDictionaryInstance();