c3p0 You can't operate on a closed Connection解决办法
来源:互联网 发布:基于nodejs的cms 编辑:程序博客网 时间:2024/05/21 08:04
The information you posted is pretty clear. Your connection is closed.
Maybe you are not closing just the ResultSet, but instead close the entire connection?
Finally, ensure that the connection is open before you try to do anything with it. If it is not, get a new connection.
/** * 获取数据库连接 * * @return */public static Connection getConnection() {if (null == connection) {connection=newConnection();} try {if(connection.isClosed()){connection=dsWebgame.getConnection();}} catch (SQLException e) {e.printStackTrace();}return connection;}
- c3p0 You can't operate on a closed Connection解决办法
- You can't operate on a closed Connection!!!
- You can't perform any operations on this connection. It has been automatically closed by Proxool fo
- Tomcat hangs if C3P0 can't get a database connection
- Can't open a connection to site 'SYB_BACKUP' 解决办法
- Couldn't perform the operation prepareStatement: You can't perform any operations on this connection
- Couldn't perform the operation setAutoCommit: You can't perform any operations on this connection. I
- 关于数据库You can't perform any operations on this connection的错误
- Couldn't perform the operation rollback: You can't perform any operations on this connection. It has
- You can't place widgets on a layer different than the UIPanel that manages them.
- Actors, Green Threads and CSP On The JVM – No, You Can’t Have A Pony
- you can’t add a second ‘$and’
- You can't place widgets on a layer different than the UIPanel that manages them. If you want to move
- Can LotusScript operate on Private Views?
- Can't load AMD 64-bit .dll on a IA 32-bit platform错误的解决办法
- Sometimes You Can't Make it On Your Own
- Sometimes You Can't Make it On Your Own
- why you can't focus on one thing
- 中国互联网
- 利用Java的动态代理模式动态加载属性
- 大数据(big data)
- iPhone应用开发从入门到精通
- HTML 5开发精要与实例详解
- c3p0 You can't operate on a closed Connection解决办法
- PHP中的is_callable函数
- Rational rose中实心菱形的画法
- (黑马程序员)TreeSet集合总节笔记(一)
- 深入linux设备驱动程序内核机制(第七章) 读书笔记
- 一个让人看了心酸、落泪的故事
- C# 我以为的入门
- POJ--2236--Wireless Network
- CSDN文章