public class CompositeOperation extends DatabaseOperation
CLEAN_INSERT, DELETE, DELETE_ALL, INSERT, NONE, REFRESH, TRUNCATE_TABLE, UPDATE| Constructor and Description |
|---|
CompositeOperation(DatabaseOperation[] actions)
Creates a new composite operation combining the specified operations.
|
CompositeOperation(DatabaseOperation action1,
DatabaseOperation action2)
Creates a new composite operation combining the two specified operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(IDatabaseConnection connection,
IDataSet dataSet)
Executes this operation on the specified database using the specified
dataset contents.
|
String |
toString() |
CLOSE_CONNECTION, TRANSACTIONpublic CompositeOperation(DatabaseOperation action1, DatabaseOperation action2)
public CompositeOperation(DatabaseOperation[] actions)
public void execute(IDatabaseConnection connection, IDataSet dataSet) throws DatabaseUnitException, SQLException
DatabaseOperationexecute in class DatabaseOperationconnection - the database connection.dataSet - the dataset to be used by this operation.DatabaseUnitExceptionSQLExceptionCopyright © 2002-2017. All Rights Reserved.