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
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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.

    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(StateManagerImpl.java:650)
      2. com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(StateManagerImpl.java:633)
      2 frames
    3. codos.security
      Data.jdoMakeDirty
      1. codos.security.Data.jdoMakeDirty(Data.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.Proxies.makeDirty(Proxies.java:194)
      2. com.solarmetric.kodo.util.ProxyHashSet.add(ProxyHashSet.java:123)
      2 frames
    6. codos.security
      Tester.test
      1. codos.security.Data._add(Data.java:28)
      2. codos.security.Data.add(Data.java:20)
      3. codos.security.Tester.test(Tester.java:41)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    8. codos.security
      Tester.main
      1. codos.security.Tester.main(Tester.java:100)
      1 frame