|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
org.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet
org.objectweb.cjdbc.scenario.tools.testlet.UpdateTestLet
This test executes in order: a select, an update and a select on the update and checks the result set are as expected
Field Summary | |
private int |
totalExecute
|
Fields inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet |
jdbcConnection |
Fields inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet |
COLUMN_NAME, config, FILE_NAME, IGNORE_CASE, ITERATION, LIST_FAILOVER_BACKENDS, MACRO_NAME, NUMBER_OF_UPDATES, PROCEDURE_NAME, SELECTED_COLUMNS, TABLE_METADATA_COLUMNS, TABLE_NAME, UPDATED_COLUMN_VALUE, USE_CJDBC_CLASS, USE_OPTIMIZED_STATEMENT, USE_PREPARED_STATEMENT, USE_TRANSACTIONS, USE_UPDATE_STATEMENT, VIRTUAL_DATABASE |
Constructor Summary | |
UpdateTestLet(java.sql.Connection con)
Creates a new UpdateTestLet object |
Method Summary | |
void |
execute()
Execute the content of the test. |
Methods inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet |
getJdbcConnection, setJdbcConnection |
Methods inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet |
checkMemoryUsage, configure, executeBatch, executeBatch, getConfig, getConfigBoolean, getInitialMemoryUsage, getTotalMemoryUsage, getTotalTimeUsage, ignoreCase, set, setConfig, useCJDBCClass, usePreparedStatement, useTransaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int totalExecute
Constructor Detail |
public UpdateTestLet(java.sql.Connection con)
UpdateTestLet
object
con
- connection to use for testingMethod Detail |
public void execute() throws java.lang.Exception
AbstractTestLet
execute
in class AbstractTestLet
java.lang.Exception
- if failsAbstractTestLet.execute()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |