Package org.dbunit.operation
Class DeleteOperation
java.lang.Object
org.dbunit.operation.DatabaseOperation
org.dbunit.operation.AbstractOperation
org.dbunit.operation.AbstractBatchOperation
org.dbunit.operation.DeleteOperation
Deletes only the dataset contents from the database. This operation does not
delete the entire table contents but only data that are present in the
dataset.
- Since:
- Feb 19, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Field Summary
Fields inherited from class org.dbunit.operation.AbstractBatchOperation
_reverseRowOrderFields inherited from class org.dbunit.operation.DatabaseOperation
CLEAN_INSERT, DELETE, DELETE_ALL, INSERT, NONE, REFRESH, TRUNCATE_TABLE, UPDATE -
Method Summary
Modifier and TypeMethodDescriptiongetOperationData(ITableMetaData metaData, BitSet ignoreMapping, IDatabaseConnection connection) protected ITableIteratorReturns list of tables this operation is applied to.Methods inherited from class org.dbunit.operation.AbstractBatchOperation
execute, handleColumnHasNoValue, toStringMethods inherited from class org.dbunit.operation.AbstractOperation
getQualifiedNameMethods inherited from class org.dbunit.operation.DatabaseOperation
CLOSE_CONNECTION, TRANSACTION
-
Method Details
-
iterator
Description copied from class:AbstractBatchOperationReturns list of tables this operation is applied to. This method allow subclass to do filtering.- Overrides:
iteratorin classAbstractBatchOperation- Throws:
DatabaseUnitException
-
getOperationData
public OperationData getOperationData(ITableMetaData metaData, BitSet ignoreMapping, IDatabaseConnection connection) throws DataSetException - Throws:
DataSetException
-