javax.jdo.JDOUserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.

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 3004, 1 year ago
To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
via Oracle Community by 3004, 1 year ago
To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
javax.jdo.JDOUserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
at com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(Unknown Source)
at com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(Unknown Source)
at codos.security.User.jdoMakeDirty(User.java)
at javax.jdo.JDOHelper.makeDirty(JDOHelper.java:79)
at com.solarmetric.kodo.util.SecondClassObjects.makeDirty(Unknown Source)
at com.solarmetric.kodo.util.ProxyHashSet.add(Unknown Source)
at codos.security.User.addToGroup(User.java:52)
at codos.security.UserGroup.addMember(UserGroup.java:36)
at codos.security.Tester.test(Tester.java:46)

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.