--- FM2SQL/Attic/Convert.java 2004/01/16 10:21:01 1.12 +++ FM2SQL/Attic/Convert.java 2004/01/16 11:23:49 1.13 @@ -304,7 +304,7 @@ class Convert } - public static void update(String source, String destination, Vector names, Vector layouts, Vector selects, Vector creates, int mode) throws Exception + public static void update(String source, String destination, Vector names, Vector layouts, Vector selects, Vector creates, Vector ids,int mode) throws Exception { FM2SQL.ProgressDialog dialog = null; if (FM2SQL.fmInstance != null) @@ -393,10 +393,11 @@ class Convert int size = bean.getColumnNames().size(); for (int i = 0; i < size - 1; ++i) - command.append(convertText((String)bean.getColumnNames().get(i))+" = ?"); - command.append(convertText((String)bean.getColumnNames().get(size-1))+" = ?"); + command.append(convertText((String)bean.getColumnNames().get(i))+" = ? "); + command.append(convertText((String)bean.getColumnNames().get(size-1))+" = ? "); PreparedStatement pstm = beanDest.getConnection().prepareStatement(command.toString()); System.out.println(command); + System.exit(0); int rowCount = bean.getRowCount(query); while ((row = bean.getNextRow()) != null) {