org.dbunit.operation
Class DatabaseOperation
java.lang.Object
org.dbunit.operation.DatabaseOperation
- Direct Known Subclasses:
- AbstractOperation, CloseConnectionOperation, CompositeOperation, TransactionOperation
- public abstract class DatabaseOperation
- extends java.lang.Object
Defines the interface contract for operations performed on the database.
- Since:
- Feb 18, 2002
- Version:
- $Revision: 1.14 $
- Author:
- Manuel Laflamme
Method Summary |
abstract void |
execute(IDatabaseConnection connection,
IDataSet dataSet)
Executes this operation on the specified database using the specified
dataset contents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final DatabaseOperation NONE
UPDATE
public static final DatabaseOperation UPDATE
INSERT
public static final DatabaseOperation INSERT
REFRESH
public static final DatabaseOperation REFRESH
DELETE
public static final DatabaseOperation DELETE
DELETE_ALL
public static final DatabaseOperation DELETE_ALL
TRUNCATE_TABLE
public static final DatabaseOperation TRUNCATE_TABLE
CLEAN_INSERT
public static final DatabaseOperation CLEAN_INSERT
DatabaseOperation
public DatabaseOperation()
execute
public abstract void execute(IDatabaseConnection connection,
IDataSet dataSet)
throws DatabaseUnitException,
java.sql.SQLException
- Executes this operation on the specified database using the specified
dataset contents.
- 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.