HHH-14900 Since the BatchBuilderImpl Service is shared, mutable field jdbcBatchSize should be marked volatile
This commit is contained in:
parent
8a2869a09a
commit
9ecd1799a0
|
@ -24,7 +24,7 @@ import org.hibernate.service.spi.Manageable;
|
|||
*/
|
||||
public class BatchBuilderImpl implements BatchBuilder, Configurable, Manageable, BatchBuilderMXBean {
|
||||
|
||||
private int jdbcBatchSize;
|
||||
private volatile int jdbcBatchSize;
|
||||
|
||||
/**
|
||||
* Constructs a BatchBuilderImpl
|
||||
|
|
Loading…
Reference in New Issue