javax.jdo.JDOUserException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Query returns results before tx starts
    via by 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. at com.solarmetric.kodo.runtime.PersistenceManagerImpl.checkNontransactionalRead(Unknown Source) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(Unknown Source) 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(Unknown Source) 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) at com.ysoft.jdo.book.resort.local.client.Client.viewReservations(Client.java:146) at com.ysoft.jdo.book.resort.local.client.View.execute(Client.java:349) at com.ysoft.jdo.book.resort.local.client.Client.execute(Client.java:115) at com.ysoft.jdo.book.resort.local.client.Client.run(Client.java:92) at com.ysoft.jdo.book.resort.local.client.Client.main(Client.java:50)
    No Bugmate found.