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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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.
  2. 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.

    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:756)
      2. com.solarmetric.kodo.runtime.StateManagerImpl.makeDirty(StateManagerImpl.java:739)
      2 frames
    3. com.madocke.cms
      Application.jdoMakeDirty
      1. com.madocke.cms.sms.Application.jdoMakeDirty(Application.java)
      1 frame
    4. JDO API
      JDOHelper.makeDirty
      1. javax.jdo.JDOHelper.makeDirty(JDOHelper.java:79)
      1 frame
    5. com.solarmetric.kodo
      ProxyVector.add
      1. com.solarmetric.kodo.util.Proxies.makeDirty(Proxies.java:198)
      2. com.solarmetric.kodo.util.ProxyVector.add(ProxyVector.java:163)
      2 frames
    6. com.madocke.cms
      Application.jdoPreStore
      1. com.madocke.cms.sms.Folder.addChild(Folder.java:29)
      2. com.madocke.cms.sms.Application.jdoPreStore(Application.java:187)
      2 frames