Today, @ExpectJdbcBatching makes a test fails if INSERT, UPDATE or DELETE statements are executed without JDBC batching.
This issue follows #132. It aims to add a boolean lenient element to ExpectJdbcbatching annotation. The default value will be false.
With a true value, the test will not fail if the batch size would be less than two with JDBC batching. For example, if just one INSERT is executed without JDBC batching, the test will not fail.
Today, @ExpectJdbcBatching makes a test fails if INSERT, UPDATE or DELETE statements are executed without JDBC batching.
This issue follows #132. It aims to add a boolean
lenient
element to ExpectJdbcbatching annotation. The default value will befalse
.With a
true
value, the test will not fail if the batch size would be less than two with JDBC batching. For example, if just one INSERT is executed without JDBC batching, the test will not fail.