actionPerformed(...) {
String stat1 = "insert ... into table1";
String stat2 = "insert ... into table2";
statement.exec(stat1);
statement.exec(stat2);
}
String stat1 = "insert ... into table1";
String stat2 = "insert ... into table2";
statement.exec(stat1);
statement.exec(stat2);
}
另外,你还可以直接在ORACLE9i的库中加一个存贮过程来解决它---如果这个操作很常用而且有点点复杂的话
我还发现就算用SELECT获得的数据集必须是ResulSet,难道com.borland.dx就没有类似queryDataSet的集来接受数据吗?