kodo.jdo.DataStoreException: ORA-00900: Ungültige SQL-Anweisung

Oracle Community | 666705 | 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

    update query in jdo

    Oracle Community | 1 decade ago | 666705
    kodo.jdo.DataStoreException: ORA-00900: Ungültige SQL-Anweisung
  2. 0

    Unit test fails after upgrading to Kodo 4.0.0 from 4.0.0-EA4

    Oracle Community | 1 decade ago | 3004
    kodo.jdo.DataStoreException: The column index is out of range: 2, number of columns: 1.
  3. 0

    Kodo v4.0.0EA2 Bugs List

    Oracle Community | 1 decade ago | 3004
    kodo.jdo.DataStoreException: ERROR: relation "kodo_sequence" does not exist {prepstmnt 11665455 SELECT NEXTVAL('KODO_SEQUENCE') [reused=0]} [code=0, state=42P01]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kodo.jdo.DataStoreException

      ORA-00900: Ungültige SQL-Anweisung

      at kodo.jdbc.sql.DBDictionary.newStoreException()
    2. kodo.jdbc.sql
      SQLExceptions.getStore
      1. kodo.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4092)
      2. kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:82)
      3. kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:66)
      4. kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:46)
      4 frames
    3. kodo.jdbc.kernel
      SQLStoreQuery$SQLExecutor.executeQuery
      1. kodo.jdbc.kernel.SQLStoreQuery$SQLExecutor.executeQuery(SQLStoreQuery.java:253)
      1 frame
    4. kodo.kernel
      DelegatingQuery.updateAll
      1. kodo.kernel.QueryImpl.execute(QueryImpl.java:1132)
      2. kodo.kernel.QueryImpl.updateInMemory(QueryImpl.java:1263)
      3. kodo.kernel.AbstractStoreQuery$AbstractExecutor.executeUpdate(AbstractStoreQuery.java:157)
      4. kodo.kernel.AbstractStoreQuery$AbstractExecutor.executeUpdate(AbstractStoreQuery.java:163)
      5. kodo.kernel.QueryImpl.update(QueryImpl.java:1240)
      6. kodo.kernel.QueryImpl.execute(QueryImpl.java:957)
      7. kodo.kernel.QueryImpl.updateAll(QueryImpl.java:1012)
      8. kodo.kernel.DelegatingQuery.updateAll(DelegatingQuery.java:865)
      8 frames
    5. kodo.jdo
      QueryImpl.updatePersistentAll
      1. kodo.jdo.QueryImpl.updatePersistentAll(QueryImpl.java:815)
      1 frame
    6. com.ottogroup.buying
      ChangeTrackingExportEntryRepositoryImpl.updateConfirmedStateToExportedByConfirmedStateAndExportId
      1. com.ottogroup.buying.infrastructure.dao.masterdatachange.jdo.ChangeTrackingExportEntryRepositoryDaoJdoImpl.updateConfirmedStateToExportedByConfirmedStateAndExportId(ChangeTrackingExportEntryRepositoryDaoJdoImpl.java:133)
      2. com.ottogroup.buying.sharedkernel.object.masterdatachange.changeexport.ChangeTrackingExportEntryRepositoryImpl.updateConfirmedStateToExportedByConfirmedStateAndExportId(ChangeTrackingExportEntryRepositoryImpl.java:78)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    11. Unknown
      $Proxy161.updateConfirmedStateToExportedByConfirmedStateAndExportId
      1. $Proxy161.updateConfirmedStateToExportedByConfirmedStateAndExportId(Unknown Source)
      1 frame
    12. com.ottogroup.buying
      ChangeExportServiceImpl.export
      1. com.ottogroup.buying.sharedkernel.service.changeexport.ChangeExportServiceImpl.export(ChangeExportServiceImpl.java:177)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    14. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    15. com.ottogroup.buying
      AopMessageHandler.invoke
      1. com.ottogroup.buying.sharedkernel.object.base.error.AopMessageHandler.invoke(AopMessageHandler.java:38)
      1 frame
    16. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      1 frame
    17. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    18. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    19. Unknown
      $Proxy168.export
      1. $Proxy168.export(Unknown Source)
      1 frame
    20. test.ottogroup.sharedkernel
      ChangeExportTest.testAll
      1. test.ottogroup.sharedkernel.object.persistence.base.ChangeExportTest.export(ChangeExportTest.java:146)
      2. test.ottogroup.sharedkernel.object.persistence.base.ChangeExportTest.testAll(ChangeExportTest.java:158)
      2 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    22. 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
    23. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      3 frames