Skip to content

Commit

Permalink
Issue-330 Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ijazfx authored and darkv committed Nov 26, 2012
1 parent b8ef73d commit ddf1ae9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ protected long selectAndUpdateValue(Connection con, long increment) throws SQLEx

pk = resultSet.getLong(VALUE_COLUMN_NAME);
String updateStatement = _factory.expressionForEntity(null).assembleUpdateStatementWithRow(null, null, tableList, updateList, whereClause);
con.createStatement().executeQuery(updateStatement);
con.createStatement().executeUpdate(updateStatement);
} else {
pk = createRow(con, increment);
}
Expand Down

0 comments on commit ddf1ae9

Please sign in to comment.