Skip to content

Commit

Permalink
Issue #587 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Farrukh Ijaz committed Jun 9, 2014
1 parent 4d8ec1c commit b151239
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ protected long increasedMaxValue(long increment) {
Connection con = broker().getConnection();
try {
try {
con.setAutoCommit(false);
con.setReadOnly(false);
if(con.getTransactionIsolation() != 0) {
con.setAutoCommit(false);
con.setReadOnly(false);
}
} catch (SQLException e) {
log.error(e, e);
}
Expand Down

0 comments on commit b151239

Please sign in to comment.