java.sql.SQLException: Can't call commit when autocommit=true

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0
  2. 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hibernate - C3P0 - connectionPool - Transactions

    Stack Overflow | 4 years ago | Jesus Schneider
    java.sql.SQLException: Can't call commit when autocommit=true

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Can't call commit when autocommit=true

      at com.mysql.jdbc.Connection.commit()
    2. MySQL jdbc
      Connection.commit
      1. com.mysql.jdbc.Connection.commit(Connection.java:1175)
      1 frame
    3. Commons DBCP
      PoolingDataSource$PoolGuardConnectionWrapper.commit
      1. org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:248)
      2. org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:244)
      2 frames
    4. com.atlassian.confluence
      VersionedAttachmentDatabaseUpgradeTask.doUpgrade
      1. com.atlassian.confluence.upgrade.VersionedAttachmentDatabaseUpgradeTask.updateAttachmentsTable(VersionedAttachmentDatabaseUpgradeTask.java:71)
      2. com.atlassian.confluence.upgrade.VersionedAttachmentDatabaseUpgradeTask.doUpgrade(VersionedAttachmentDatabaseUpgradeTask.java:41)
      2 frames