org.objectweb.cjdbc.scenario.raidb1.driver
Class CompiledPreparedStatementScenario
java.lang.Object
TestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.templates.Template
org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
org.objectweb.cjdbc.scenario.raidb1.driver.CompiledPreparedStatementScenario
- public class CompiledPreparedStatementScenario
- extends Raidb1RecoveryTemplate
This class defines a CompiledPreparedStatementScenario
- 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 |
CJDBC_PREPARED_OPTIMIZED
static final java.lang.String CJDBC_PREPARED_OPTIMIZED
- See Also:
- Constant Field Values
CJDBC_PREPARED_NO_OPTIMIZED
static final java.lang.String CJDBC_PREPARED_NO_OPTIMIZED
- See Also:
- Constant Field Values
CJDBC_NO_PREPARED
static final java.lang.String CJDBC_NO_PREPARED
- See Also:
- Constant Field Values
DATABASE_PREPARED
static final java.lang.String DATABASE_PREPARED
- See Also:
- Constant Field Values
DATABASE_NO_PREPARED
static final java.lang.String DATABASE_NO_PREPARED
- See Also:
- Constant Field Values
NUMBER_OF_EXECUTIONS
static final int NUMBER_OF_EXECUTIONS
- See Also:
- Constant Field Values
CompiledPreparedStatementScenario
public CompiledPreparedStatementScenario()
testComparePreparedStatementOptimization
public void testComparePreparedStatementOptimization()
throws java.lang.Exception
- Test prepared statements with/without jaco's optimization
- Throws:
java.lang.Exception
- if fails
dotest
private void dotest(java.lang.String name,
java.sql.Connection con,
boolean usePreparedStatement)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.