Uses of Class
org.dbunit.operation.DatabaseOperation
Packages that use DatabaseOperation
-
Uses of DatabaseOperation in org.dbunit
Methods in org.dbunit that return DatabaseOperationModifier and TypeMethodDescriptionAbstractDatabaseTester.getSetUpOperation()Returns the DatabaseOperation to call when starting the test.protected DatabaseOperationDatabaseTestCase.getSetUpOperation()Returns the database operation executed in test setup.protected DatabaseOperationDefaultPrepAndExpectedTestCase.getSetUpOperation()IDatabaseTester.getSetUpOperation()Gets the DatabaseOperation to call when starting the test.AbstractDatabaseTester.getTearDownOperation()Returns the DatabaseOperation to call when ending the test.protected DatabaseOperationDatabaseTestCase.getTearDownOperation()Returns the database operation executed in test cleanup.protected DatabaseOperationDefaultPrepAndExpectedTestCase.getTearDownOperation()IDatabaseTester.getTearDownOperation()Gets the DatabaseOperation to call when ending the test.Methods in org.dbunit with parameters of type DatabaseOperationModifier and TypeMethodDescriptionvoidAbstractDatabaseTester.setSetUpOperation(DatabaseOperation setUpOperation) voidIDatabaseTester.setSetUpOperation(DatabaseOperation setUpOperation) Sets the DatabaseOperation to call when starting the test.voidAbstractDatabaseTester.setTearDownOperation(DatabaseOperation tearDownOperation) voidIDatabaseTester.setTearDownOperation(DatabaseOperation tearDownOperation) Sets the DatabaseOperation to call when ending the test. -
Uses of DatabaseOperation in org.dbunit.ant
Methods in org.dbunit.ant that return DatabaseOperationModifier and TypeMethodDescriptionOperation.getDbOperation()Returns the database operation resolved fromOperation.setType(String). -
Uses of DatabaseOperation in org.dbunit.ext.mssql
Subclasses of DatabaseOperation in org.dbunit.ext.mssqlModifier and TypeClassDescriptionclassThis class disable the MS SQL Server automatic identifier generation for the execution of inserts.Fields in org.dbunit.ext.mssql declared as DatabaseOperationModifier and TypeFieldDescriptionstatic final DatabaseOperationInsertIdentityOperation.CLEAN_INSERTDELETE_ALLfollowed byInsertIdentityOperation.INSERT.static final DatabaseOperationInsertIdentityOperation.INSERTINSERT, decorated to enable MS SQL identity insert.static final DatabaseOperationInsertIdentityOperation.REFRESHREFRESH, decorated to enable MS SQL identity insert.Constructors in org.dbunit.ext.mssql with parameters of type DatabaseOperationModifierConstructorDescriptionInsertIdentityOperation(DatabaseOperation operation) Creates a new InsertIdentityOperation object that decorates the specified operation. -
Uses of DatabaseOperation in org.dbunit.operation
Subclasses of DatabaseOperation in org.dbunit.operationModifier and TypeClassDescriptionclassBase implementation for database operation that are executed in batch.classAbstract baseDatabaseOperationimplementation providing shared row-iteration and column-filtering behavior.classDecorates an operation and close the database connection after executing it.classThis class is a composite that combines multiple database operation in a single one.classDeletes all rows of tables present in the specified dataset.classDeletes only the dataset contents from the database.classInserts the dataset contents into the database.classThis operation literally refreshes dataset contents into the database.classDecorates an operation and executes within the context of a transaction.classTruncate tables present in the specified dataset.classUpdates the database from the dataset contents.Fields in org.dbunit.operation declared as DatabaseOperationModifier and TypeFieldDescriptionstatic final DatabaseOperationDatabaseOperation.CLEAN_INSERTDeletes all rows of the dataset's tables, then inserts the dataset's rows.static final DatabaseOperationDatabaseOperation.DELETEDeletes rows matching the dataset's primary keys.static final DatabaseOperationDatabaseOperation.DELETE_ALLDeletes all rows of the dataset's tables.static final DatabaseOperationDatabaseOperation.INSERTInserts the dataset's rows.static final DatabaseOperationDatabaseOperation.NONENo-op that does nothing to the database.static final DatabaseOperationDatabaseOperation.REFRESHUpdates existing rows and inserts rows that do not yet exist (upsert).static final DatabaseOperationDatabaseOperation.TRUNCATE_TABLETruncates the dataset's tables.static final DatabaseOperationDatabaseOperation.UPDATEUpdates existing rows matching the dataset's primary keys.Methods in org.dbunit.operation that return DatabaseOperationModifier and TypeMethodDescriptionstatic final DatabaseOperationDatabaseOperation.CLOSE_CONNECTION(DatabaseOperation operation) Wraps the given operation so it closes the connection after executing.static final DatabaseOperationDatabaseOperation.TRANSACTION(DatabaseOperation operation) Wraps the given operation so it runs within its own transaction.Methods in org.dbunit.operation with parameters of type DatabaseOperationModifier and TypeMethodDescriptionstatic final DatabaseOperationDatabaseOperation.CLOSE_CONNECTION(DatabaseOperation operation) Wraps the given operation so it closes the connection after executing.static final DatabaseOperationDatabaseOperation.TRANSACTION(DatabaseOperation operation) Wraps the given operation so it runs within its own transaction.Constructors in org.dbunit.operation with parameters of type DatabaseOperationModifierConstructorDescriptionCloseConnectionOperation(DatabaseOperation operation) Creates a CloseConnectionOperation object that decorates the specified operation.CompositeOperation(DatabaseOperation[] actions) Creates a new composite operation combining the specified operations.CompositeOperation(DatabaseOperation action1, DatabaseOperation action2) Creates a new composite operation combining the two specified operations.TransactionOperation(DatabaseOperation operation) Creates a TransactionOperation that decorates the specified operation.