Annotation Type ExpectJdbcBatching

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int batchSize
      Specifies a batchSize (integer) to cause the test method to fail if the used batch size is not equal.
    • Element Detail

      • batchSize

        int batchSize
        Specifies a batchSize (integer) to cause the test method to fail if the used batch size is not equal. A zero batch size means that JDBC batching is disabled. With no given batch size value, the annotation will still check that insert, delete and update statements are processed through JDBC batches (but the annotation will not check the batch size).
        Default:
        -1