Class DbUnitBatchedStatementsInterceptor

java.lang.Object
com.github.mjeanroy.dbunit.core.configuration.DbUnitBatchedStatementsInterceptor
All Implemented Interfaces:
DbUnitConfigInterceptor

public final class DbUnitBatchedStatementsInterceptor extends Object
An interceptor that can enable/disable the "batchedStatements" feature of DbUnit.
See Also:
  • DatabaseConfig.FEATURE_BATCHED_STATEMENTS
  • 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