Class DbUnitBatchedStatementsInterceptor
java.lang.Object
com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
- All Implemented Interfaces:
DbUnitConfigInterceptor
An interceptor that can enable/disable the
"batchedStatements"
feature of DbUnit.- See Also:
-
DatabaseConfig.FEATURE_BATCHED_STATEMENTS
-
Constructor Summary
ConstructorsConstructorDescriptionCreate the interceptor, the feature is enabled by default.DbUnitBatchedStatementsInterceptor
(boolean batchedStatements) Create the interceptor. -
Method Summary
-
Constructor Details
-
DbUnitBatchedStatementsInterceptor
public DbUnitBatchedStatementsInterceptor()Create the interceptor, the feature is enabled by default. -
DbUnitBatchedStatementsInterceptor
public DbUnitBatchedStatementsInterceptor(boolean batchedStatements) Create the interceptor.- Parameters:
batchedStatements
- Feature activation flag:true
to enable feature,false
otherwise.
-
-
Method Details
-
applyConfiguration
public void applyConfiguration(org.dbunit.database.DatabaseConfig config) Description copied from interface:DbUnitConfigInterceptor
Apply customization on the database configuration instance.- Specified by:
applyConfiguration
in interfaceDbUnitConfigInterceptor
- Parameters:
config
- The database configuration instance.
-
equals
-
hashCode
public int hashCode() -
toString
-