org.dbunit.operation
Class AbstractBatchOperation
java.lang.Object
org.dbunit.operation.DatabaseOperation
org.dbunit.operation.AbstractOperation
org.dbunit.operation.AbstractBatchOperation
- Direct Known Subclasses:
- DeleteOperation, InsertOperation, UpdateOperation
- public abstract class AbstractBatchOperation
- extends AbstractOperation
Base implementation for database operation that are executed in batch.
- Since:
- Feb 19, 2002
- Version:
- $Revision: 1.28 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_reverseRowOrder
protected boolean _reverseRowOrder
AbstractBatchOperation
public AbstractBatchOperation()
iterator
protected ITableIterator iterator(IDataSet dataSet)
throws DatabaseUnitException
- Returns list of tables this operation is applied to. This method
allow subclass to do filtering.
- Throws:
DatabaseUnitException
execute
public void execute(IDatabaseConnection connection,
IDataSet dataSet)
throws DatabaseUnitException,
java.sql.SQLException
- Description copied from class:
DatabaseOperation
- Executes this operation on the specified database using the specified
dataset contents.
- Specified by:
execute
in class DatabaseOperation
- Parameters:
connection
- the database connection.dataSet
- the dataset to be used by this operation.
- Throws:
DatabaseUnitException
java.sql.SQLException
Copyright © 2002-2004 DbUnit.org. All Rights Reserved.