kodo.util.UnsupportedOptionException: Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".

Oracle Community | 3004 | 1 decade ago
  1. 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".
  2. 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".
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 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.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kodo.util.UnsupportedOptionException

      Unable to create second class object proxy for type: "class be.li3.util.history.LongHist".

      at kodo.util.ProxyManagerImpl.newMapProxy()
    2. kodo.util
      ProxyManagerImpl.newMapProxy
      1. kodo.util.ProxyManagerImpl.newMapProxy(ProxyManagerImpl.java:211)
      1 frame
    3. kodo.runtime
      PersistenceManagerImpl.commit
      1. kodo.runtime.StateManagerImpl.newFieldProxy(StateManagerImpl.java:1569)
      2. kodo.runtime.SingleFieldManager.proxy(SingleFieldManager.java:242)
      3. kodo.runtime.StateManagerImpl.proxyFields(StateManagerImpl.java:3097)
      4. kodo.runtime.PNonTransState.initialize(PNonTransState.java:32)
      5. kodo.runtime.StateManagerImpl.setJDOState(StateManagerImpl.java:174)
      6. kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:974)
      7. kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:1413)
      8. kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:998)
      9. kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
      10. kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
      10 frames
    4. be.li3.persistence
      JDOPersistenceManager.makePersistent
      1. be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
      2. be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
      2 frames
    5. be.li3.domain
      TestLoadCurveTask.testGetIntervals
      1. be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
      2. be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
      3. be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
      4. be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
      5. be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    8. JUnit3 Runner
      RemoteTestRunner.run
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      2 frames