org.apache.openjpa.persistence.PersistenceException: Cannot call commit when using distributed transactions

Oracle Community | 666705 | 9 years ago
  1. 0

    XA driver problem using WLS 9.2

    Oracle Community | 9 years ago | 666705
    org.apache.openjpa.persistence.PersistenceException: Cannot call commit when using distributed transactions
  2. 0

    Using PostgreSQL sequences with db user restrictions

    openjpa-users | 3 years ago | Anja
    org.apache.openjpa.persistence.PersistenceException: ERROR: current transaction is aborted, commands ignored until end of transaction block {prepstmnt 19606677 SELECT NEXTVAL('SEQ_DATEN')} [code=0, state=25P02]
  3. 0

    Exception: Cannot set auto-commit mode when using distributed transactions

    manning.com | 3 months ago
    org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot set auto-commit mode when using distributed transactions

    Oracle Community | 6 years ago | 815389
    org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions [java]
  6. 0

    PersistenceException: Cannot set auto-commit mode when using distributed transactions (SCBCD forum at JavaRanch)

    coderanch.com | 1 year ago
    org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions

    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. org.apache.openjpa.persistence.PersistenceException

      Cannot call commit when using distributed transactions

      at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore()
    2. OpenJPA Aggregate Jar
      StateManagerImpl.accessingField
      1. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:92)
      2. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
      3. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:41)
      4. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.closeConnection(AbstractJDBCSeq.java:163)
      5. org.apache.openjpa.jdbc.kernel.NativeJDBCSeq.nextInternal(NativeJDBCSeq.java:206)
      6. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:54)
      7. org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:159)
      8. org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:143)
      9. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
      10. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:435)
      11. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:420)
      12. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
      13. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
      14. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
      15. org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:471)
      16. org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:555)
      17. org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1354)
      18. org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1337)
      18 frames