mirror of https://github.com/apache/openjpa.git
OPENJPA-946 Remove Derby connectionURL from createEMF properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec483537da
commit
c295a07fbe
|
@ -38,8 +38,6 @@ public class TestResWordEntity extends SingleEMFTestCase {
|
||||||
public void testMultipleSchemafactories1() {
|
public void testMultipleSchemafactories1() {
|
||||||
OpenJPAEntityManagerFactorySPI emf =
|
OpenJPAEntityManagerFactorySPI emf =
|
||||||
createEMF(ResWordEntity.class,
|
createEMF(ResWordEntity.class,
|
||||||
"openjpa.ConnectionURL",
|
|
||||||
"jdbc:derby:net://host:1527/databaseName",
|
|
||||||
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)",
|
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)",
|
||||||
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)");
|
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)");
|
||||||
|
|
||||||
|
@ -64,8 +62,6 @@ public class TestResWordEntity extends SingleEMFTestCase {
|
||||||
public void testMultipleSchemafactories2() {
|
public void testMultipleSchemafactories2() {
|
||||||
OpenJPAEntityManagerFactorySPI emf =
|
OpenJPAEntityManagerFactorySPI emf =
|
||||||
createEMF(ResWordEntity.class,
|
createEMF(ResWordEntity.class,
|
||||||
"openjpa.ConnectionURL",
|
|
||||||
"jdbc:derby:net://host:1527/databaseName",
|
|
||||||
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)",
|
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)",
|
||||||
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)");
|
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)");
|
||||||
|
|
||||||
|
@ -90,8 +86,6 @@ public class TestResWordEntity extends SingleEMFTestCase {
|
||||||
public void testMultipleSchemafactories3() {
|
public void testMultipleSchemafactories3() {
|
||||||
OpenJPAEntityManagerFactorySPI emf =
|
OpenJPAEntityManagerFactorySPI emf =
|
||||||
createEMF(ResWordEntity.class,
|
createEMF(ResWordEntity.class,
|
||||||
"openjpa.ConnectionURL",
|
|
||||||
"jdbc:derby:net://host:1527/databaseName",
|
|
||||||
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)");
|
"openjpa.jdbc.SynchronizeMappings","buildSchema(ForeignKeys=true)");
|
||||||
|
|
||||||
EntityManager em = emf.createEntityManager();
|
EntityManager em = emf.createEntityManager();
|
||||||
|
@ -115,8 +109,6 @@ public class TestResWordEntity extends SingleEMFTestCase {
|
||||||
public void testMultipleSchemafactories4() {
|
public void testMultipleSchemafactories4() {
|
||||||
OpenJPAEntityManagerFactorySPI emf =
|
OpenJPAEntityManagerFactorySPI emf =
|
||||||
createEMF(ResWordEntity.class,
|
createEMF(ResWordEntity.class,
|
||||||
"openjpa.ConnectionURL",
|
|
||||||
"jdbc:derby:net://host:1527/databaseName",
|
|
||||||
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)");
|
"openjpa.jdbc.SchemaFactory","native(ForeignKeys=true)");
|
||||||
|
|
||||||
EntityManager em = emf.createEntityManager();
|
EntityManager em = emf.createEntityManager();
|
||||||
|
|
Loading…
Reference in New Issue