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

Oracle Community | 3004 | 1 decade ago
  1. 0

    altering of two objects inside of a transaction fails

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
  2. 0

    jdoPreStore

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: To perform writes on persistent data outside of a transaction, the "nontransactionalWrite" property must be set on the PersistenceManagerFactory or Transaction.
  3. 0

    Query returns results before tx starts

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: To perform reads on persistent data outside of a transaction, the "nontransactionalRead" property must be set on the PersistenceManagerFactory or Transaction.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Query returns results before tx starts

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: To perform reads on persistent data outside of a transaction, the "nontransactionalRead" property must be set on the PersistenceManagerFactory or Transaction.
  6. 0

    How to retrieve the data of the child in one to many relationship?

    Google Groups | 8 years ago | pango
    javax.jdo.JDOUserException: detachCopy cannot be called outside of a transaction when there are transient instances reachable.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.solarmetric.kodo
      StateManagerImpl.makeDirty
      1. com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(Unknown Source)
      2. com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(Unknown Source)
      2 frames
    3. codos.security
      User.jdoMakeDirty
      1. codos.security.User.jdoMakeDirty(User.java)
      1 frame
    4. JDO API
      JDOHelper.makeDirty
      1. javax.jdo.JDOHelper.makeDirty(JDOHelper.java:79)
      1 frame
    5. com.solarmetric.kodo
      ProxyHashSet.add
      1. com.solarmetric.kodo.util.SecondClassObjects.makeDirty(Unknown Source)
      2. com.solarmetric.kodo.util.ProxyHashSet.add(Unknown Source)
      2 frames
    6. codos.security
      Tester.test
      1. codos.security.User.addToGroup(User.java:52)
      2. codos.security.UserGroup.addMember(UserGroup.java:36)
      3. codos.security.Tester.test(Tester.java:46)
      3 frames