kodo.util.UnsupportedOptionException: kodo.jdbc.SQL language queries cannot be executed in-memory. Either set the javax.jdo.option.IgnoreCache property to true, set the kodo.FlushBeforeQueries property to true, or execute the query before modifying objects within the transaction.

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    UnsupportedOption Exception while executing Query

    Oracle Community | 1 decade ago | 3004
    kodo.util.UnsupportedOptionException: kodo.jdbc.SQL language queries cannot be executed in-memory. Either set the javax.jdo.option.IgnoreCache property to true, set the kodo.FlushBeforeQueries property to true, or execute the query before modifying objects within the transaction.
  2. 0

    using SQL in Query in 3.0.0

    Oracle Community | 1 decade ago | 3004
    kodo.util.UnsupportedOptionException: kodo.jdbc.SQL language queries cannot be executed in-memory. Either set the javax.jdo.option.IgnoreCache property to true, set the kodo.FlushBeforeQueries property to true, or execute the query before modifying objects within the transaction.

    Root Cause Analysis

    1. kodo.util.UnsupportedOptionException

      kodo.jdbc.SQL language queries cannot be executed in-memory. Either set the javax.jdo.option.IgnoreCache property to true, set the kodo.FlushBeforeQueries property to true, or execute the query before modifying objects within the transaction.

      at kodo.jdbc.query.SQLQuery.newInMemoryQueryExecutor()
    2. kodo.jdbc.query
      SQLQuery.newInMemoryQueryExecutor
      1. kodo.jdbc.query.SQLQuery.newInMemoryQueryExecutor(SQLQuery.java:117)
      1 frame
    3. kodo.query
      AbstractQuery.executeWithArray
      1. kodo.query.AbstractQuery.internalCompile(AbstractQuery.java:545)
      2. kodo.query.AbstractQuery.getAccessPathMetaDatas(AbstractQuery.java:938)
      3. kodo.query.AbstractQuery.isAccessPathDirty(AbstractQuery.java:745)
      4. kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:672)
      5. kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:640)
      5 frames
    4. au.com.aig
      _EJSRemoteStatelessBillingProcess_b720060c_Tie._invoke
      1. au.com.aig.aiaa.billing.process.ejb.BillingProcessSubBean.findDirectEntryItems(BillingProcessSubBean.java:139)
      2. au.com.aig.aiaa.billing.process.ejb.BillingProcessSubBean.findBillingDetails(BillingProcessSubBean.java:41)
      3. au.com.aig.aiaa.billing.process.ejb.EJSLocalStatelessBillingProcessSub_81348520.findBillingDetails(EJSLocalStatelessBillingProcessSub_81348520.java:43)
      4. au.com.aig.aiaa.billing.process.ejb.BillingProcessBean.processDirectEntrys(BillingProcessBean.java:42)
      5. au.com.aig.aiaa.billing.process.ejb.EJSRemoteStatelessBillingProcess_b720060c.processDirectEntrys(EJSRemoteStatelessBillingProcess_b720060c.java:83)
      6. au.com.aig.aiaa.billing.process.ejb._EJSRemoteStatelessBillingProcess_b720060c_Tie.processDirectEntrys(_EJSRemoteStatelessBillingProcess_b720060c_Tie.java:181)
      7. au.com.aig.aiaa.billing.process.ejb._EJSRemoteStatelessBillingProcess_b720060c_Tie._invoke(_EJSRemoteStatelessBillingProcess_b720060c_Tie.java:100)
      7 frames
    5. com.ibm.CORBA
      ServerDelegate.dispatch
      1. com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:582)
      2. com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
      2 frames
    6. com.ibm.rmi
      ORB.process
      1. com.ibm.rmi.iiop.ORB.process(ORB.java:320)
      1 frame
    7. com.ibm.CORBA
      ORB.process
      1. com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
      1 frame
    8. com.ibm.rmi
      WorkUnitImpl.doWork
      1. com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
      2. com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
      2 frames
    9. com.ibm.ejs
      PooledThread.run
      1. com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
      1 frame
    10. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
      1 frame