谁知道eclipse中如何读取MySQL数据库表中的一行信息并保存打印出来

2025-06-22 03:24:17
推荐回答(1个)
回答1:

用循环保存
int index =0;
while(rs.next){
Object obj = rs.get(index ++);
}