mirror of https://github.com/apache/openjpa.git
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:
parent
b15b164b6c
commit
badcf47af8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue