org.objectweb.cjdbc.scenario.tools.testlet
Class AbstractConnectionTestLet

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
          extended byorg.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet
Direct Known Subclasses:
BlobTestLet, ClobTestLet, ColumnUpdateTestLet, CreateTableTestLet, FailoverOn2BackendsTestLet, ProcedureTestLet, SmallBlobTestLet, UpdateTestLet

public abstract class AbstractConnectionTestLet
extends AbstractTestLet

This class defines a AbstractTestLet. This expands the test let to connection oriented test lets.

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
protected  java.sql.Connection 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
AbstractConnectionTestLet(java.sql.Connection con)
          Creates a new AbstractTestLet object
 
Method Summary
 java.sql.Connection getJdbcConnection()
          Returns the jdbcConnection value.
 void setJdbcConnection(java.sql.Connection jdbcConnection)
          Sets the jdbcConnection value.
 
Methods inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
checkMemoryUsage, configure, execute, 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

jdbcConnection

protected java.sql.Connection jdbcConnection
Constructor Detail

AbstractConnectionTestLet

public AbstractConnectionTestLet(java.sql.Connection con)
Creates a new AbstractTestLet object

Parameters:
con - connection to use for testing
Method Detail

getJdbcConnection

public java.sql.Connection getJdbcConnection()
Returns the jdbcConnection value.

Returns:
Returns the jdbcConnection.

setJdbcConnection

public void setJdbcConnection(java.sql.Connection jdbcConnection)
Sets the jdbcConnection value.

Parameters:
jdbcConnection - The jdbcConnection to set.


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.