for (int i = 0; i < whereColumns.size(); i++) {
Column column = (Column)columns.get(i);
Cell cell = ObjectUtil.findNewCell(row, column.getTableName(), column.getColumnName());
dao.setObject(i+1, cell.getColumnValue());
}
dao.executeUpdate();
}
//Delete mainTables
StringBuffer sb = new StringBuffer("DELETE FROM ");
sb.append(mainTableName + " WHERE ");
Vector whereColumns = new Vector();