javax.jdo.JDOUserException

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

Solutions on the web131

  • via Oracle Community by 3004, 1 year ago
    To perform reads on persistent data outside of a transaction, the "nontransactionalRead" 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.
  • 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.
  • Stack trace

    • 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(Unknown Source) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(UnknownSource) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(Unknown Source) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(Unknown Source) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(UnknownSource) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(Unknown Source) at java.util.AbstractList$Itr.next(AbstractList.java:417) at com.solarmetric.kodo.runtime.ResultListIterator.next(Unknown Source) at java.util.LinkedList.addAll(LinkedList.java:259) at java.util.LinkedList.addAll(LinkedList.java:232)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.