HHH-14899 Inconsistent default value for STATEMENT_BATCH_SIZE
This commit is contained in:
parent
959dfea66f
commit
7ff73d178f
|
@ -428,7 +428,7 @@ public class SessionFactoryOptionsBuilder implements SessionFactoryOptions {
|
|||
}
|
||||
}
|
||||
|
||||
this.jdbcBatchSize = ConfigurationHelper.getInt( STATEMENT_BATCH_SIZE, configurationSettings, 0 );
|
||||
this.jdbcBatchSize = ConfigurationHelper.getInt( STATEMENT_BATCH_SIZE, configurationSettings, 1 );
|
||||
if ( !meta.supportsBatchUpdates() ) {
|
||||
this.jdbcBatchSize = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue