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

    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!

    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