当前位置:
代码迷
>>
Oracle开发
>> rs.getstatement.close();rs.close();还是rs.close();rs.getstatement.close();先关哪个好(假设statement只用作维持记录集),该如何解决
详细解决方案
rs.getstatement.close();rs.close();还是rs.close();rs.getstatement.close();先关哪个好(假设statement只用作维持记录集),该如何解决
热度:
165
发布时间:
2016-04-24 07:44:29.0
rs.getstatement.close();rs.close();还是rs.close();rs.getstatement.close();先关哪个好(假设statement只用作维持记录集)
如题
rs.getstatement.close();rs.close();还是rs.close();rs.getstatement.close();
先关哪个好(假设statement只用作维持记录集)
为什么??
------解决方案--------------------
rs.close();
rs.getstatement.close();
查看全文
相关解决方案
关于java.sql.Statement.executeUpdate()的返回值,该怎么处理
急问:S60,eclipse,打开模拟器总是提示“unhandled exception.Close application?该如何解决
spring+ibatis下报错:There is no statement named selectSQL in this SqlMap,该怎么解决
急救! java socket流的关闭有关问题 close shutdown
关于window.open()和window.close()的有关问题
可不可以使用window.close()关闭Frameset结构体窗口
用c#写asp.net,一个button,里面的click事件里如何没有this.close()
对文字,如何执行onclick="javascript:window.close()" style="cursor:hand"
|M| 用showModalDialog打开的窗口用js要如何关闭小弟我用window.close()没用
100分,求using(SqlConnection newconn = new SqlConnection()){……}顶用不用newconn.close()方法?
window.close()有关问题
Close();方法报错误?到底是咋回事。
460:Statement length exceeds maximum.解决方案
460:Statement length exceeds maximum.该如何解决
每日背熟一句英语(6)I'll batch close my treads once every tow weeks
小弟我在代码末尾加上rs.close ,关闭数据集,就报错~
statement、prepareStatement、callableStatement的运用
window.opener=null,window.close() 这么关闭当前页面还是有提示(在线急)
window.close()没反应?解决思路
window.close()在FF中不能执行?解决方法
关于document.close(),该如何解决
SessionFactory.close()跟close(session)的区别
SSI中报错 com.ibatis.sql地图.client.SqlMapException: There is no statement named XXX
纳闷:ResultSet.close()后,生成 ResultSet 对象的 Statement 对象和 Connection 对象不调用close,连接池会继续占用吗
不封闭ResultSet、Statement,只关闭Connection对程序是否有影响
Statement.executeUpdate不能在while(RestleSet.next())里面使用?碰到个奇怪有关问题
xp系统与2000系统之window.close()解决思路
Statement stmt = Conn.createStatement(1004,1007);解决方案
Vector、Connection、Statement、abstractTableModel,该如何处理
spring+ibatis下出错:There is no statement named selectSQL in this SqlMap