JDK API Doc里的:
=======================
A ResultSet object is automatically closed when the Statement object that generated it is closed, re-executed, or used to retrieve the next result from a sequence of multiple results. 就是说一个Statement如果被close了,或者另做查询什么的,以前做的ResultSet就会自动被关掉。
=======================
A ResultSet object is automatically closed when the Statement object that generated it is closed, re-executed, or used to retrieve the next result from a sequence of multiple results. 就是说一个Statement如果被close了,或者另做查询什么的,以前做的ResultSet就会自动被关掉。
解决方案 »
- jsp实现文件下载的时候如何去代码限制下载文件每秒的流量?
- java中手机发送短信这个功能怎么实现,请高手指点下
- js动态生成的多个<input type="file">,提交有问题,各位大哥大姐帮帮忙啊
- JSP中文乱码问题
- 怎么把一个excel文件拆分成多个excel文件
- sql语句 pl sql可以正常运行,java代码中查询不到结果
- 请教opentaps的LocalDispatcher 问题
- 用myeclipse+tomcat+mysql开发的web项目,在自己电脑上跑没问题,但是发布到另外一台电脑上,当然环境都做好的,就报Caused by: ja
- 如何判断用户输入的回车?
- 问:jsp中JavaBean文件应放到哪儿?---谢谢
- 连接池的问题,很急啊,请大家帮忙!!!
- 求一个jsp的论坛源码,易配置的,数据库最好是acess的!thanks!
我定义的ResultSet名是一样的,会不会是这个造成的。