阅读背景:

为什么While(rs.next())语句在第一次迭代后结束?

来源:互联网 

I am using a SELECT statement to get data from a table and then insert it into another table. However the line "stmt.executeQuery(query);" is inserting the first line from the table then exits. When I comment this line out, the while loop loops through all the lines printing them out. The stacktrace isn't showing any errors. Why is this happening?I am using a SELECT statement to get data from




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: