Class DeleteAllOperation

Direct Known Subclasses:
TruncateTableOperation

public class DeleteAllOperation extends AbstractOperation
Deletes all rows of tables present in the specified dataset. If the dataset does not contains a particular table, but that table exists in the database, the database table is not affected. Table are truncated in reverse sequence.

This operation has the same effect of as TruncateTableOperation. 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.

Since:
Feb 18, 2002
Version:
$Revision$
Author:
Manuel Laflamme
See Also: