public class TruncateTableOperation extends DeleteAllOperation
This operation has the same effect of as
TruncateTableOperation is faster, and it is non-logged, meaning it cannot be
rollback. DeleteAllOperation is more portable because not all database vendor
support TRUNCATE_TABLE TABLE statement.
|Modifier and Type||Method and Description|
Executes this operation on the specified database using the specified dataset contents.
protected String getDeleteAllCommand()
public void execute(IDatabaseConnection connection, IDataSet dataSet) throws DatabaseUnitException, SQLException
Copyright © 2002–2018. All rights reserved.