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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]