java.sql.SQLException:Couldn't perform the operation prepareStatement:You can't perform any operations on this connection.It has been automatically closed by Proxool for some reason (see logs).\x05at org.logicalcobwebs.proxool.WrappedConnection.invok

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 11:05:23
java.sql.SQLException:Couldn''tperformtheoperationprepareStatement:Youcan''tperformanyoperationsonthis

java.sql.SQLException:Couldn't perform the operation prepareStatement:You can't perform any operations on this connection.It has been automatically closed by Proxool for some reason (see logs).\x05at org.logicalcobwebs.proxool.WrappedConnection.invok
java.sql.SQLException:Couldn't perform the operation prepareStatement:You can't perform any operations on this connection.It has been automatically closed by Proxool for some reason (see logs).
\x05at org.logicalcobwebs.proxool.WrappedConnection.invoke(WrappedConnection.java:207)
\x05at org.logicalcobwebs.proxool.WrappedConnection.intercept(WrappedConnection.java:87)
\x05at $java.sql.Connection$$EnhancerByCGLIB$$cb568e8f.prepareStatement()
\x05at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
\x05at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
\x05at java.lang.reflect.Method.invoke(Method.java:597)
\x05at com.ibatis.common.jdbc.logging.ConnectionLogProxy.invoke(ConnectionLogProxy.java:53)
\x05at $Proxy0.prepareStatement(Unknown Source)
\x05at com.ibatis.sqlmap.engine.execution.SqlExecutor.prepareStatement(SqlExecutor.java:494)
\x05at com.ibatis.sqlmap.engine.execution.SqlExecutor.access$000(SqlExecutor.java:39)
\x05at com.ibatis.sqlmap.engine.execution.SqlExecutor$Batch.addBatch(SqlExecutor.java:583)
\x05at com.ibatis.sqlmap.engine.execution.SqlExecutor.addBatch(SqlExecutor.java:104)
\x05at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteUpdate(GeneralStatement.java:197)
\x05at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:78)
\x05at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:447)
\x05at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
\x05at com.gdcn.sms.dao.ibatis.TaskDaoImpl$3.doInSqlMapClient(TaskDaoImpl.java:599)
\x05at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:209)
\x05at com.gdcn.sms.dao.ibatis.TaskDaoImpl.batchInsertSmsSendState(TaskDaoImpl.java:589)
\x05at com.gdcn.sms.thread.MyThread.run(MyThread.java:21)

java.sql.SQLException:Couldn't perform the operation prepareStatement:You can't perform any operations on this connection.It has been automatically closed by Proxool for some reason (see logs).\x05at org.logicalcobwebs.proxool.WrappedConnection.invok
数据库连接池Proxool 管理的数据库连接,在这个操作前,已经被关闭.可以重新创建一个

Connection close了阿,很明显的原因阿

看的头晕,

设置下,再没操作完时,别让他关闭