结果集为什么被关掉!?
rs=sql.executeQuery("select * from lend where number1='"+number1+"' and number2='"+string+"'");sql.executeUpdate("update magazine set amount=amount-"+x+" where number='"+table.getValueAt(rowIndex, 0).toString().trim()+"'");
这样的顺序结果集会被关掉吗?好像会关掉呀!大神们,有劳各位帮我介绍一下什么情况下结果集会被关掉!!!???