com.bea.p13n.management.data.repository.PersistenceException: Cannot commit: java.sql.SQLException: Could not commit with auto-commit set on

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 Stack Overflow by Somaiah Kumbera
, 1 year ago
Cannot commit: java.sql.SQLException: Could not commit with auto-commit set on
via Oracle Community by 665532, 1 year ago
Cannot commit: java.sql.SQLException: Can't call commit when autocommit=true
via Oracle Community by 665532, 1 year ago
Cannot commit: java.sql.SQLException: Can't call commit when autocommit=true
via Oracle Community by 781995, 1 year ago
Cannot commit: java.sql.SQLException: Cannot call commit when using distributed transactions
via Oracle Community by 666705, 1 year ago
Cannot commit: com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
com.bea.p13n.management.data.repository.PersistenceException: Cannot commit: java.sql.SQLException: Could not commit with auto-commit set on
at com.bea.p13n.management.data.repository.persistence.transactions.AbstractTx.doTransaction(AbstractTx.java:118)
at com.bea.p13n.management.data.repository.persistence.transactions.AbstractTx.sync(AbstractTx.java:62)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:215)
at com.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.refresh(JdbcPersistenceManager.java:113)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.(AbstractDataRepository.java:164)
at com.bea.p13n.management.data.repository.MasterDataRepository.(MasterDataRepository.java:49)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.