org.objectweb.cjdbc.scenario.raidb0
Class Raidb0BasicConnectScenario
java.lang.Object
TestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.templates.Template
org.objectweb.cjdbc.scenario.templates.SimpleRaidb0Template
org.objectweb.cjdbc.scenario.raidb0.Raidb0BasicConnectScenario
- public class Raidb0BasicConnectScenario
- extends SimpleRaidb0Template
This test will try to update and execute queries on tables that are on
different backend each time. It will perform the test in autocommit and
transaction mode.
- Version:
- 1.0
- Author:
- Nicolas Modrzyk
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentUpdate
java.lang.String documentUpdate
productUpdate
java.lang.String productUpdate
Raidb0BasicConnectScenario
public Raidb0BasicConnectScenario()
testFailOverWithRandomWaitPool
public void testFailOverWithRandomWaitPool()
throws java.lang.Exception
- Test CJDBC basic raidb0 with randomwait pool
- Throws:
java.lang.Exception
- if fails
completeTest
private void completeTest(java.lang.String tableName)
throws java.lang.Exception
- Throws:
java.lang.Exception
queryUpdateTable
private void queryUpdateTable(java.lang.String tableName,
boolean autoCommit,
boolean prepare)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.