You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2006/02/02 12:19:15 UTC

svn commit: r374354 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java

Author: arminw
Date: Thu Feb  2 03:19:10 2006
New Revision: 374354

URL: http://svn.apache.org/viewcvs?rev=374354&view=rev
Log:
enable batch statement mode for all tests (this will only take effect when batch mode is enabled in jdbc-connection-descriptor too)

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java?rev=374354&r1=374353&r2=374354&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/junit/PBTestCase.java Thu Feb  2 03:19:10 2006
@@ -49,6 +49,8 @@
         assertNotNull(broker = PersistenceBrokerFactory.defaultPersistenceBroker());
         assertNotNull(platform = broker.serviceConnectionManager().getSupportedPlatform());
         platformClass = platform.getClass().getName();
+        // enable batch mode for all used PB instances
+        broker.serviceConnectionManager().setBatchMode(true);
     }
 
     public void tearDown() throws Exception



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org