public class RefreshLoadStrategy extends BaseDataSetLoadStrategy
DataSetLoadStrategy that 'refreshes' the contents of the database with the contents of the dataset. This means
that data of existing rows is updated and non-existing rows are inserted. Any rows that are in the database but not
in the dataset stay unaffected.DatabaseOperation.REFRESH| Constructor and Description |
|---|
RefreshLoadStrategy() |
| 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.