Skip to content

Commit

Permalink
Bugfix, check for all batch results for failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gmokki committed Sep 29, 2015
1 parent 0df42f2 commit 9056c4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ protected boolean setValuesIfAvailable(PreparedStatement ps, int i) throws SQLEx
for (int i = 0; i < updateStatus.length; ++i) {
if (updateStatus[i] == Statement.SUCCESS_NO_INFO) {
unknownResults = true;
break;
continue;
}
if (updateStatus[i] == Statement.EXECUTE_FAILED) {
throw new IllegalStateException("Failed to insert/update state variables");
Expand Down

0 comments on commit 9056c4f

Please sign in to comment.