openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r575008 - in /openjpa: branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/ trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/
Date Wed, 12 Sep 2007 16:46:03 GMT
Author: kwsutter
Date: Wed Sep 12 09:45:59 2007
New Revision: 575008

URL: http://svn.apache.org/viewvc?rev=575008&view=rev
Log:
OPENJPA-360.  Remove code dependencies on DB2 libraries from unit tests.

Modified:
    openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java

Modified: openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java?rev=575008&r1=575007&r2=575008&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
(original)
+++ openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
Wed Sep 12 09:45:59 2007
@@ -33,14 +33,7 @@
     extends SQLListenerTestCase {
 
     public void setUp() {
-        setUp(
-//                "openjpa.ConnectionDriverName", 
-//                "org.apache.commons.dbcp.BasicDataSource",
-                
-                "openjpa.ConnectionProperties",
-                "DriverClassName=com.ibm.db2.jcc.DB2Driver,Url=jdbc:db2:demodb"
-                ,"openjpa.jdbc.SynchronizeMappings",
-                AllFieldTypes.class,
+        setUp(AllFieldTypes.class,
             "openjpa.Optimistic", "false",
             "openjpa.LockManager", "pessimistic",
             "openjpa.ReadLockLevel", "none");

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java?rev=575008&r1=575007&r2=575008&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
Wed Sep 12 09:45:59 2007
@@ -33,14 +33,7 @@
     extends SQLListenerTestCase {
 
     public void setUp() {
-        setUp(
-//                "openjpa.ConnectionDriverName", 
-//                "org.apache.commons.dbcp.BasicDataSource",
-                
-                "openjpa.ConnectionProperties",
-                "DriverClassName=com.ibm.db2.jcc.DB2Driver,Url=jdbc:db2:demodb"
-                ,"openjpa.jdbc.SynchronizeMappings",
-                AllFieldTypes.class,
+        setUp(AllFieldTypes.class,
             "openjpa.Optimistic", "false",
             "openjpa.LockManager", "pessimistic",
             "openjpa.ReadLockLevel", "none");



Mime
View raw message