try {
Connection conn = …;
Statement stmt = …;
ResultSet rs = stmt.executeQuery("select * from table1");
while(rs.next()) {
}
} catch(Exception ex) {
}
这段代码有什么不足之处?
try {
Connection conn = …;
Statement stmt = …;
ResultSet rs = stmt.executeQuery("select * from table1");
while(rs.next()) {
}
} catch(Exception ex) {
}
这段代码有什么不足之处?