|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy
public class RefreshLoadStrategy
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 Summary | |
|---|---|
RefreshLoadStrategy()
|
|
| Method Summary | |
|---|---|
void |
doExecute(DbUnitDatabaseConnection dbUnitDatabaseConnection,
org.dbunit.dataset.IDataSet dataSet)
Executes this DataSetLoadStrategy. |
| Methods inherited from class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefreshLoadStrategy()
| Method Detail |
|---|
public void doExecute(DbUnitDatabaseConnection dbUnitDatabaseConnection,
org.dbunit.dataset.IDataSet dataSet)
throws org.dbunit.DatabaseUnitException,
java.sql.SQLException
doExecute in class BaseDataSetLoadStrategydbUnitDatabaseConnection - DbUnit class providing access to the databasedataSet - The dbunit dataset
org.dbunit.DatabaseUnitException - Exception thown by dbunit
java.sql.SQLException - Exception thown by dbunit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||