diff --git a/base/src/org/compiere/model/GridTable.java b/base/src/org/compiere/model/GridTable.java index 4d7a9ff11c..098c10b455 100644 --- a/base/src/org/compiere/model/GridTable.java +++ b/base/src/org/compiere/model/GridTable.java @@ -2268,7 +2268,8 @@ public class GridTable extends AbstractTableModel int no = 0; try { - PreparedStatement pstmt = DB.prepareStatement(sql.toString(), null); + PreparedStatement pstmt = DB.prepareStatement (sql.toString(), + ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE, null); no = pstmt.executeUpdate(); pstmt.close(); }