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

Oracle Community | 3004 | 1 decade ago
  1. 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.
  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.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  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 reads on persistent data outside of a transaction, the "nontransactionalRead" property must be set on the PersistenceManagerFactory or Transaction.

      at com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkNontransactionalRead()
    2. com.solarmetric.kodo
      LazyResultList.get
      1. com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkNontransactionalRead(Unknown Source)
      2. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(UnknownSource)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(Unknown Source)
      4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(Unknown Source)
      5. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(UnknownSource)
      6. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(Unknown Source)
      6 frames
    3. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:417)
      1 frame
    4. com.solarmetric.kodo
      ResultListIterator.next
      1. com.solarmetric.kodo.runtime.ResultListIterator.next(Unknown Source)
      1 frame
    5. Java RT
      LinkedList.addAll
      1. java.util.LinkedList.addAll(LinkedList.java:259)
      2. java.util.LinkedList.addAll(LinkedList.java:232)
      2 frames