public class CleanInsertLoadStrategy extends BaseDataSetLoadStrategy
DataSetLoadStrategy that inserts a dataset, after removal of all data present in the tables specified in the dataset.DatabaseOperation.CLEAN_INSERT| Constructor and Description |
|---|
CleanInsertLoadStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute(DbUnitDatabaseConnection dbUnitDatabaseConnection,
org.dbunit.dataset.IDataSet dataSet)
Executes this DataSetLoadStrategy.
|
executepublic void doExecute(DbUnitDatabaseConnection dbUnitDatabaseConnection, org.dbunit.dataset.IDataSet dataSet) throws org.dbunit.DatabaseUnitException, SQLException
doExecute in class BaseDataSetLoadStrategydbUnitDatabaseConnection - DbUnit class providing access to the databasedataSet - The dbunit datasetorg.dbunit.DatabaseUnitException - Exception thown by dbunitSQLException - Exception thown by dbunitCopyright © 2016. All Rights Reserved.