File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class BatchingBatch extends AbstractBatchImpl {
50
50
51
51
private final int batchSize ;
52
52
private int batchPosition ;
53
- private boolean alreadyExecuteBatch ;
53
+ private boolean batchExecuted ;
54
54
private int statementPosition ;
55
55
56
56
/**
@@ -97,7 +97,7 @@ public void addToBatch() {
97
97
notifyObserversImplicitExecution ();
98
98
performExecution ();
99
99
batchPosition = 0 ;
100
- alreadyExecuteBatch = true ;
100
+ batchExecuted = true ;
101
101
}
102
102
statementPosition = 0 ;
103
103
}
@@ -106,7 +106,7 @@ public void addToBatch() {
106
106
@ Override
107
107
protected void doExecuteBatch () {
108
108
if (batchPosition == 0 ) {
109
- if (!alreadyExecuteBatch ) {
109
+ if (! batchExecuted ) {
110
110
LOG .debug ( "No batched statements to execute" );
111
111
}
112
112
}
You can’t perform that action at this time.
0 commit comments