org.dbunit.operation
Class RefreshOperation
java.lang.Object
org.dbunit.operation.DatabaseOperation
org.dbunit.operation.AbstractOperation
org.dbunit.operation.RefreshOperation
public class RefreshOperation
- extends AbstractOperation
This operation literally refreshes dataset contents into the database. This
means that data of existing rows is updated and non-existing row get
inserted. Any rows which exist in the database but not in dataset stay
unaffected.
- Since:
- Feb 19, 2002
- Version:
- $Revision: 1224 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execute
public void execute(IDatabaseConnection connection,
IDataSet dataSet)
throws DatabaseUnitException,
SQLException
- Description copied from class:
DatabaseOperation
- Executes this operation on the specified database using the specified
dataset contents.
- Specified by:
execute
in class DatabaseOperation
- Parameters:
connection
- the database connection.dataSet
- the dataset to be used by this operation.
- Throws:
DatabaseUnitException
SQLException
Copyright © 2002-2012. All Rights Reserved.