我试图执行此代码时出现错误。java.sql.SQLException:jdbc错误中的用尽结果集
我的要求是使用getInt()
将字符串转换为数据库。
for (int i = 1; i <= 7; i++) {
int t = rs.getInt(i);
temp = Integer.toString(t);
if (temp.length() == 1) temp="00"+temp;
else if (temp.length() == 2) temp="0"+temp;
else temp=temp;
output=output+temp;
...