Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
Cannot call commit when using distributed transactions
org.apache.openjpa.persistence.PersistenceException: Cannot call commit when using distributed transactions	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:92)	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)	at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:41)	at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.closeConnection(AbstractJDBCSeq.java:163)	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:554)	at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:435)	at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:420)	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)	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:471)	at org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:555)	at org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1354)	at org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1337)