version 1.32, 2004/09/20 09:00:58
|
version 1.34, 2004/09/20 14:07:51
|
Line 750 public class DBBean
|
Line 750 public class DBBean
|
// TODO remove |
// TODO remove |
if (FM2SQL.fmInstance != null) |
if (FM2SQL.fmInstance != null) |
FM2SQL.showErrorDialog("Error caught!! \n Query was " + query + " \n", "Debug Info"); |
FM2SQL.showErrorDialog("Error caught!! \n Query was " + query + " \n", "Debug Info"); |
|
e.printStackTrace(); |
} |
} |
|
|
return result; |
return result; |
Line 1529 public class DBBean
|
Line 1530 public class DBBean
|
ResultSet result = this.result; |
ResultSet result = this.result; |
String subQuery = query.substring(query.lastIndexOf(table) + table.length() + 1); |
String subQuery = query.substring(query.lastIndexOf(table) + table.length() + 1); |
System.out.println("subQuery " + subQuery); |
System.out.println("subQuery " + subQuery); |
makeQuery("select " + id + " from " + getQC() + table + getQC() + subQuery+"order by "+id, numHits); |
makeQuery("select " + getQC()+id+getQC() + " from " + getQC() + table + getQC() + subQuery, numHits); |
while (true) |
while (true) |
{ |
{ |
Vector vec = getNextRow(); |
Vector vec = getNextRow(); |