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

Oracle Community | 3004 | 1 decade ago
  1. 0

    sequences on jboss + oracle - "oracle-service.xml" 2135 Bytes

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

    sequences on jboss + oracle - "kodo-service.xml" 16.4 KBytes

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

    Hibernate in JBoss: You cannot commit during a managed transaction!

    objectmix.com | 1 year ago
    java.sql.SQLException: You cannot commit during a managed transaction!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with sequences when running XA on Kodo + Spring + JBoss

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

    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

      You cannot commit during a managed transaction!

      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.jdbcCommit()
    2. JBoss Application Server Connector
      LocalConnection.commit
      1. org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.jdbcCommit(LocalManagedConnection.java:465)
      2. org.jboss.resource.adapter.jdbc.local.LocalConnection.commit(LocalConnection.java:447)
      2 frames
    3. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.commit(SQLExecutionManagerImpl.java:819)
      2. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:252)
      3. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:109)
      4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:507)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1280)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1211)
      6 frames
    4. com.processdirection.platform
      JDOObjectGraph.add
      1. com.processdirection.platform.graph.jdo.JDOObjectGraph.add(JDOObjectGraph.java:41)
      1 frame