java.sql.SQLException: You cannot commit during a managed transaction!

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with JBoss and KODO J2EE Tutorial

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: You cannot commit during a managed transaction!
  2. 0

    cannot commit during managed transaction

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: You cannot commit during a managed transaction!
  3. 0

    mySQL -- Cannot disable AUTO_COMMIT

    Oracle Community | 2 decades ago | 3004
    java.sql.SQLException: Cannot disable AUTO_COMMIT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kodo and JBoss 3.2 - transactions problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: ERROR: current transaction is aborted, queries ignored until end of transaction block

    Root Cause Analysis

    1. java.sql.SQLException

      You cannot commit during a managed transaction!

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.handle(SQLExceptions.java:43)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:562)
      4. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1450)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1380)
      5 frames