{
return;
}
try {
DatabaseOperation operation = (_transaction ? new TransactionOperation(_operation) : _operation);
// TODO This is not very nice and the design should be reviewed but it works for now (gommma)
boolean useForwardOnly = _forwardOperation && ! isOrdered();
IDataSet dataset = getSrcDataSet(getSrc(), getFormat(), useForwardOnly);
if (_nullToken != null) {
dataset = new ReplacementDataSet(dataset);
((ReplacementDataSet)dataset).addReplacementObject(_nullToken, null);
}
if(isOrdered())
{
DatabaseSequenceFilter databaseSequenceFilter = new DatabaseSequenceFilter(connection);
dataset = new FilteredDataSet(databaseSequenceFilter, dataset);
}
operation.execute(connection, dataset);
}
catch (SQLException e)
{
throw new DatabaseUnitException(e);
}