com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"

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

    Bug in using javax.jdo.option.ConnectionFactoryName

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"

    Root Cause Analysis

    1. com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper

      [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.handle(SQLExceptions.java:43)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:511)
      4. com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.newDataStoreId(DataCacheStoreManager.java:438)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1272)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1213)
      6 frames
    3. com.dc.ibp
      ManagerBean_s82bx9_EOImpl.execute
      1. com.dc.ibp.tran.Tran1102.addItem(Tran1102.java:51)
      2. com.dc.ibp.tran.Tran1102.execute(Tran1102.java:87)
      3. com.dc.ibp.tran.TranDispatch.execute(TranDispatch.java:60)
      4. com.dc.ibp.bean.ManagerBean.execute(ManagerBean.java:32)
      5. com.dc.ibp.bean.ManagerBean_s82bx9_EOImpl.execute(ManagerBean_s82bx9_EOImpl.java:46)
      5 frames
    4. jsp_servlet._common
      __helloejb._jspService
      1. jsp_servlet._common.__helloejb._jspService(__helloejb.java:122)
      1 frame
    5. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      1 frame
    6. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
      4 frames
    7. weblogic.security.service
      SecurityServiceManager.runAs
      1. weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
      1 frame
    8. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
      2 frames
    9. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
      2 frames