com.retek.commons.domain.core.persistence.db
Class DbOperationTester

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.DbOperation
      extended bycom.retek.commons.domain.core.persistence.db.DbOperationTester

public final class DbOperationTester
extends DbOperation


Field Summary
 
Fields inherited from class com.retek.commons.domain.core.persistence.db.DbOperation
DUMMY_VERSION_UNTIL_VERSION_COLUMN_ADDED
 
Constructor Summary
DbOperationTester(java.sql.Connection connectionVal)
           
DbOperationTester(DbOperation parentOperation)
           
 
Method Summary
 void doBadSql()
           
 void doNiceSql()
           
protected  void doPerform()
           
 void doPreparedStatementNiceSql()
           
 void doSqlWithChild()
           
 java.lang.String getConnectionKey()
           
 DbOperation getTestChildOperation()
           
 java.sql.Connection getTestConnection()
           
 RetekPreparedStatement getTestRetekPreparedStatement(java.lang.String sql)
           
 java.sql.Statement getTestStatement()
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.DbOperation
checkUpdate, close, getCallableStatement, getConnection, getRetekPreparedStatement, getStatement, perform, setInitialState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbOperationTester

public DbOperationTester(java.sql.Connection connectionVal)

DbOperationTester

public DbOperationTester(DbOperation parentOperation)
Method Detail

getConnectionKey

public java.lang.String getConnectionKey()

getTestConnection

public java.sql.Connection getTestConnection()
                                      throws SystemException,
                                             java.sql.SQLException
Throws:
SystemException
java.sql.SQLException

getTestStatement

public java.sql.Statement getTestStatement()
                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getTestRetekPreparedStatement

public RetekPreparedStatement getTestRetekPreparedStatement(java.lang.String sql)
                                                     throws SystemException,
                                                            java.sql.SQLException
Throws:
SystemException
java.sql.SQLException

getTestChildOperation

public DbOperation getTestChildOperation()
                                  throws SystemException,
                                         java.sql.SQLException
Throws:
SystemException
java.sql.SQLException

doSqlWithChild

public void doSqlWithChild()
                    throws java.lang.Exception
Throws:
java.lang.Exception

doPreparedStatementNiceSql

public void doPreparedStatementNiceSql()
                                throws java.lang.Exception
Throws:
java.lang.Exception

doNiceSql

public void doNiceSql()
               throws SystemException
Throws:
SystemException

doBadSql

public void doBadSql()
              throws java.lang.Exception
Throws:
java.lang.Exception

doPerform

protected void doPerform()
                  throws SystemException,
                         java.sql.SQLException
Specified by:
doPerform in class DbOperation
Throws:
SystemException
java.sql.SQLException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25