java.sql.SQLException

Cannot call commit when using distributed transactions

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3201

  • via Oracle Community by 771808, 1 year ago
    Cannot call commit when using distributed transactions
  • via Oracle Community by biemond, 1 year ago
    Cannot call commit when using distributed transactions
  • via spring.io by Unknown author, 11 months ago
    Cannot call commit when using distributed transactions
  • Stack trace

    • java.sql.SQLException: Cannot call commit when using distributed transactions at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:321) at org.apache.openjpa.lib.jdbc.DelegatingConnection.commit(DelegatingConnection.java:201) at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.commit(LoggingConnectionDecorator.java:253) at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.closeConnection(AbstractJDBCSeq.java:161) at org.apache.openjpa.jdbc.kernel.NativeJDBCSeq.nextInternal(NativeJDBCSeq.java:206) at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:54) at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:159) at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:143) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:555) at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:390) at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:375) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:539) at kodo.jdbc.kernel.KodoJDBCStoreManager.assignObjectId(KodoJDBCStoreManager.java:33) at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131) at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131) at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:472) at org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:556) at org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1339) at org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1322)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago