kodo.jdo.UserException

To perform this operation, you must be withing a transaction, or your settings must allow nontransactional writes and must not detach all nontransactional reads.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Oracle Community by 666705, 11 months ago
    To perform this operation, you must be withing a transaction, or your settings must allow nontransactional writes and must not detach all nontransactional reads.
  • via Oracle Community by 3004, 1 year ago
    The query on candidate type "class edu.ucsc.whisper.core.DefaultUser" with filter "SELECT UNIQUE FROM edu.ucsc.whisper.core.DefaultUser WHERE username==searchName PARAMETERS java.lang.String searchName" was configured to have a unique result, but more than one instance matched the query.
  • ORA-00942: table or view does not exist {prepstmnt 1937054 SELECT t0.id, t0.create_id, t0.create_time, t0.description, t0.loc_id, t0.qualified, t0.upd_id, t0.upd_time FROM dir_curr t0 WHERE (t0.qualified = ?) [params=(String) //dir/RootOrg!AdminDir] [reused=0]} [code=942, state=42000]
  • Stack trace

    • kodo.jdo.UserException: To perform this operation, you must be withing a transaction, or your settings must allow nontransactional writes and must not detach all nontransactional reads. at org.apache.openjpa.kernel.BrokerImpl.assertWriteOperation(BrokerImpl.java:4258) at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3123) at kodo.kernel.KodoBroker.attach(KodoBroker.java:245) at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1120) at kodo.jdo.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:476)

    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’re the first here who have seen this exception.