Hibernate 6: Disable Batching how to?

hi,

trying to migrate hb5 exasol dialect, and that was turning off batching, this way in the ExasolDialect constructor:

getDefaultProperties().setProperty( Environment.STATEMENT_BATCH_SIZE, NO_BATCH );

NO_BATCH is no longer an option for Dialect.

Does it make any sense to set to “0” (string contains zero)?

thx

That is exactly how you disable batching. From the javadoc of STATEMENT_BATCH_SIZE:

Specifies the maximum number of statements to batch together.

A nonzero value enables batching