HHH-8494 cleanup

This commit is contained in:
Brett Meyer 2015-01-20 10:46:29 -05:00
parent c241404262
commit b238d7b1ee
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ public class BatchingBatch extends AbstractBatchImpl {
private final int batchSize;
private int batchPosition;
private boolean alreadyExecuteBatch;
private boolean batchExecuted;
private int statementPosition;
/**
@ -97,7 +97,7 @@ public class BatchingBatch extends AbstractBatchImpl {
notifyObserversImplicitExecution();
performExecution();
batchPosition = 0;
alreadyExecuteBatch = true;
batchExecuted = true;
}
statementPosition = 0;
}
@ -106,7 +106,7 @@ public class BatchingBatch extends AbstractBatchImpl {
@Override
protected void doExecuteBatch() {
if (batchPosition == 0 ) {
if(!alreadyExecuteBatch) {
if(! batchExecuted) {
LOG.debug( "No batched statements to execute" );
}
}