From 7065743f1766b69e3b56b23315f930dcf6930789 Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Wed, 19 Aug 2009 15:36:02 +0000 Subject: [PATCH] OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-integration/tck/pom.xml | 2 +- openjpa-persistence-jdbc/pom.xml | 108 +++++++++++-- openjpa-persistence-locking/pom.xml | 238 ++++++++++++++++++++++------ pom.xml | 3 +- 4 files changed, 287 insertions(+), 64 deletions(-) diff --git a/openjpa-integration/tck/pom.xml b/openjpa-integration/tck/pom.xml index 8dae0bf54..77e22c6ea 100644 --- a/openjpa-integration/tck/pom.xml +++ b/openjpa-integration/tck/pom.xml @@ -293,7 +293,7 @@ databaseName=${db.name} org.apache.derby derby - 10.2.1.6 + ${derby.version} compile diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml index b35e653df..32bb31b4b 100644 --- a/openjpa-persistence-jdbc/pom.xml +++ b/openjpa-persistence-jdbc/pom.xml @@ -63,7 +63,9 @@ maven-surefire-plugin ${surefire.jvm.args} - org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java + + org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java + openjpa.Log @@ -91,17 +93,25 @@ - + + + test-derby true - test-derby + + test-derby + org.apache.derby derby + ${derby.version} test @@ -113,10 +123,54 @@ + + + + test-derbynet + + test-derbynet + + + + org.apache.derby + derbyclient + ${derby.version} + test + + + + jdbc:derby://localhost:1527/openjpa20;create=true;traceDirectory=target;traceFile=derby.log + org.apache.derby.jdbc.ClientDriver + + uid + pwd + ${openjpa.derbynet.driver} + ${openjpa.derbynet.url} + ${openjpa.derbynet.username} + ${openjpa.derbynet.password} + + + test-hsqldb - test-hsqldb + + + test-hsqldb + + hsqldb @@ -137,7 +191,11 @@ test-mysql - test-mysql + + + test-mysql + + mysql @@ -158,7 +216,11 @@ test-postgresql - test-postgresql + + + test-postgresql + + postgresql @@ -248,11 +310,12 @@ net.sourceforge.jtds jtds - 1.2 + ${jtds.version} test + 1.2 net.sourceforge.jtds.jdbc.Driver ${openjpa.sqlserver.url} ${openjpa.sqlserver.username} @@ -263,16 +326,21 @@ test-sybase - test-sybase + + + test-sybase + + net.sourceforge.jtds jtds - 1.2 + ${jtds.version} test + 1.2 net.sourceforge.jtds.jdbc.Driver ${openjpa.sybase.url} ${openjpa.sybase.username} @@ -280,6 +348,7 @@ + test-ingres test-ingres @@ -287,11 +356,12 @@ com.ingres.jdbc iijdbc - 9.2-3.4.8 + ${ingres.version} test + 9.2-3.4.8 com.ingres.jdbc.IngresDriver ${openjpa.ingres.url} ${openjpa.ingres.username} @@ -311,7 +381,11 @@ --> test-custom - test-custom + + + test-custom + + openjpa.customdriver @@ -347,7 +421,11 @@ --> test-custom2 - test-custom2 + + + test-custom2 + + openjpa.customdriver1 @@ -452,6 +530,8 @@ + + + + + test-derby true @@ -108,6 +113,7 @@ org.apache.derby derby + ${derby.version} test @@ -119,6 +125,46 @@ + + + + test-derbynet + + test-derbynet + + + + org.apache.derby + derbyclient + ${derby.version} + test + + + + jdbc:derby://localhost:1527/openjpa20;create=true;traceDirectory=target;traceFile=derby.log + org.apache.derby.jdbc.ClientDriver + + uid + pwd + ${openjpa.derbynet.driver} + ${openjpa.derbynet.url} + ${openjpa.derbynet.username} + ${openjpa.derbynet.password} + + + test-hsqldb @@ -197,16 +243,31 @@ test-mssql @@ -251,11 +312,12 @@ net.sourceforge.jtds jtds - 1.2 + ${jtds.version} test + 1.2 net.sourceforge.jtds.jdbc.Driver ${openjpa.sqlserver.url} ${openjpa.sqlserver.username} @@ -275,11 +337,12 @@ net.sourceforge.jtds jtds - 1.2 + ${jtds.version} test + 1.2 net.sourceforge.jtds.jdbc.Driver ${openjpa.sybase.url} ${openjpa.sybase.username} @@ -287,12 +350,35 @@ + + + test-ingres + test-ingres + + + com.ingres.jdbc + iijdbc + ${ingres.version} + test + + + + 9.2-3.4.8 + com.ingres.jdbc.IngresDriver + ${openjpa.ingres.url} + ${openjpa.ingres.username} + ${openjpa.ingres.password} + + + @@ -326,11 +412,14 @@ added. --> test-custom2 @@ -364,21 +453,42 @@ test-db2-jcc @@ -422,16 +532,31 @@ + + test-ids-jcc @@ -475,16 +600,31 @@ - - + + test-oracle diff --git a/pom.xml b/pom.xml index e3fc88fc7..3a9d31b77 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ ${test.jvm.arguments} UTF-8 ../openjpa-project/checkstyle.xml + 10.2.2.0