* [ 1675206 ] Error when I try Merge Entity

This commit is contained in:
Heng Sin Low 2007-03-26 05:15:07 +00:00
parent 1be2c0f910
commit 0b55e13845
1 changed files with 3 additions and 2 deletions

View File

@ -889,8 +889,9 @@ public final class VAccountDialog extends CDialog
int i = 0; int i = 0;
try try
{ {
java.sql.Statement stmt = DB.createStatement(); java.sql.PreparedStatement stmt = DB.prepareStatement(sql.toString(),
i = stmt.executeUpdate(sql.toString()); ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE, null);
i = stmt.executeUpdate();
stmt.close(); stmt.close();
} }
catch (SQLException e) catch (SQLException e)