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

    NontransactionalRead UserException

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: To perform reads on persistent data outside of a transaction, the "NontransactionalRead" property must be set on the PersistenceManagerFactory or Transaction.

    Root Cause Analysis

    1. kodo.util.UserException

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

      at kodo.runtime.PersistenceManagerImpl.assertNontransactionalRead()
    2. kodo.runtime
      PersistenceManagerImpl.getExtent
      1. kodo.runtime.PersistenceManagerImpl.assertNontransactionalRead(PersistenceManagerImpl.java:3609)
      2. kodo.runtime.PersistenceManagerImpl.getExtent(PersistenceManagerImpl.java:2913)
      2 frames