Fix bug id 1646045 - Can't delete when no class model
This commit is contained in:
parent
becfda81fb
commit
d6c67b75c1
|
@ -2268,7 +2268,8 @@ public class GridTable extends AbstractTableModel
|
||||||
int no = 0;
|
int no = 0;
|
||||||
try
|
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();
|
no = pstmt.executeUpdate();
|
||||||
pstmt.close();
|
pstmt.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue