📅  最后修改于: 2022-03-11 14:52:31.032000             🧑  作者: Mango
if (rs.next() == false) {
System.out.println("ResultSet in empty in Java");
} else {
do {
String data = rs.getString("emp_name");
System.out.println(data);
} while (rs.next());
}