Operation not allowed after ResultSet closed 错误的解决方案

Operation not allowed after ResultSet closed 错误的解决方案
原因: 一个Statement多个ResultSet进行操作,引起ResultSet已经关闭错误
解决方案:让一个Statement对应一ResultSet,操作完成后及时释放ResultSetStatement

你可能感兴趣的:(Operation not allowed after ResultSet closed 错误的解决方案)