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
  1. 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.
  2. 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.
  3. 0

    Map mapping / UnsupportedOptionException

    Oracle Community | 1 decade ago | 3004
    kodo.util.UnsupportedOptionException: Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.execute
      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)
      6. kodo.query.AbstractQuery.execute(AbstractQuery.java:622)
      6 frames
    4. com.metasolv.resources
      ChannelAvailabilityQueryBean.execute
      1. com.metasolv.resources.queries.ChannelAvailabilityQueryBean.execute(ChannelAvailabilityQueryBean.java:84)
      1 frame
    5. com.metasolv.oss
      InventorySessionBean.queryInventory
      1. com.metasolv.oss.inventory.InventorySessionBean.queryInventory(InventorySessionBean.java:1504)
      1 frame