org.dbunit.operation
Class InsertOperation
java.lang.Object
org.dbunit.operation.DatabaseOperation
org.dbunit.operation.AbstractOperation
org.dbunit.operation.AbstractBatchOperation
org.dbunit.operation.InsertOperation
- public class InsertOperation
- extends AbstractBatchOperation
Inserts the dataset contents into the database. This operation assumes that
table data does not exist in the database and fails if this is not the case.
To prevent problems with foreign keys, tables must be sequenced appropriately
in dataset.
- Since:
- Feb 18, 2002
- Version:
- $Revision: 1.17 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getOperationData
public OperationData getOperationData(ITableMetaData metaData,
java.util.BitSet ignoreMapping,
IDatabaseConnection connection)
throws DataSetException
- Throws:
DataSetException
getIgnoreMapping
protected java.util.BitSet getIgnoreMapping(ITable table,
int row)
throws DataSetException
- Throws:
DataSetException
equalsIgnoreMapping
protected boolean equalsIgnoreMapping(java.util.BitSet ignoreMapping,
ITable table,
int row)
throws DataSetException
- Throws:
DataSetException
Copyright © 2002-2004 DbUnit.org. All Rights Reserved.