org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openjpa-users by Waruna Ranasinghe, 1 year ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
via openjpa-users by Rick Curtis, 1 year ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
via ode-user by Jitendra Kharche, 1 year ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
via ode-user by Jitendra Kharche, 1 year ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
via ode-user by Jitendra Kharche, 1 year ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
via apache.org by Unknown author, 2 years ago
The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
at org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2273)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2115)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2013)
at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:514)
at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:498)
at org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:400)
at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:257)
at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:291)
at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:239)
at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:531)
at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:515)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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