Java.sql.SQLException:Couldn ' t perform the operation Setautocommit

Source: Internet
Author: User

Java.sql.SQLException:Couldn ' t perform the operation Setautocommit:you can ' t perform any operations on ThisConnection. It has been automatically closed by Proxool forsome reason (see logs). [2014-09-15 11:59:25] ERROR org.hibernate.transaction.JDBCTransaction-Could not toggle autocommitjava.sql.SQLException:Couldn' t perform the operation Setautocommit:you can ' t perform any operations on ThisConnection. It has been automatically closed by Proxool forsome reason (see logs). [2014-09-15 11:59:25] ERROR org.hibernate.transaction.JDBCTransaction-JDBC rollback FAILEDJAVA.SQL.SQLEXCEPTION:COULDN' t perform the operation Rollback:you can ' t perform any operations on ThisConnection. It has been automatically closed by Proxool forsome reason (see logs). [2014-09-15 11:59:25] ERROR org.springframework.transaction.interceptor.TransactionInterceptor-application Exception overridden by rollback Exceptionorg.springframework.transaction.TransactionSystemException:Could not commit JDBC transaction; Nested exception is JAVA.SQL.SQLEXCEPTION:COULDN' t perform the operation Commit:you can ' t perform any operations on ThisConnection. It has been automatically closed by Proxool forsome reason (see logs). Caused By:org.hibernate.TransactionException:JDBC rollback failed at Org.hibernate.transaction.JDBCTransaction.rollback (Jdbctransaction.java:200) at Org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback ( Hibernatetransactionmanager.java:676)    ... 87morecaused by:java.sql.SQLException:Couldn' t perform the operation Rollback:you can ' t perform any operations on ThisConnection. It has been automatically closed by Proxool forsome reason (see logs). At Org.logicalcobwebs.proxool.WrappedConnection.invoke (Wrappedconnection.java:207) at Org.logicalcobwebs.proxool.WrappedConnection.intercept (Wrappedconnection.java:87) at $java. sql.connection$ $EnhancerByProxool $$9ebf70db.rollback (<generated>) at Org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit (Jdbctransaction.java:213) at Org.hibernate.transaction.JDBCTransaction.rollback (Jdbctransaction.java:192)    ... More

The transaction is controlled by spring. And the transaction is time-limited ... Open the transaction while writing the program, and then go to call WebServices. Causes the transaction to time out.

Java.sql.SQLException:Couldn ' t perform the operation Setautocommit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.