org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions

Coderanch | Siphiwe Madi | 6 years 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

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

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

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

    Coderanch | 6 years ago | Siphiwe Madi
    org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions
  3. 0

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

    manning.com | 6 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

    Error while retrieving entity manager

    GitHub | 2 years ago | hboumedane
    org.apache.openjpa.persistence.PersistenceException: Table "USERS" not found; SQL statement: ALTER TABLE Users ADD COLUMN birthday TIMESTAMP [42102-184] {stmnt 110038171 ALTER TABLE Users ADD COLUMN birthday TIMESTAMP} [code=42102, state=42S02]

    Root Cause Analysis

    1. org.apache.openjpa.persistence.PersistenceException

      Cannot set auto-commit mode when using distributed transactions

      at org.apache.openjpa.jdbc.meta.MappingTool.record()
    2. OpenJPA Aggregate Jar
      MappingTool.record
      1. org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:546)
      1 frame
    3. weblogic.rmi.internal
      BasicServerRef$BasicExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1040)
      1 frame
    4. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      2 frames