mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
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 @@
|
||||
*/
|
||||
public class BatchBuilderImpl implements BatchBuilder, Configurable, Manageable, BatchBuilderMXBean {
|
||||
|
||||
private int jdbcBatchSize;
|
||||
private volatile int jdbcBatchSize;
|
||||
|
||||
/**
|
||||
* Constructs a BatchBuilderImpl
|
||||
|
Loading…
x
Reference in New Issue
Block a user