java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK__JD O_SEQUENCEX__2D7CBDC4'. Cannot insert duplicate key in object 'JDO_SEQUENCEX'.

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    KODO not reading object as BLOB

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK__JD O_SEQUENCEX__2D7CBDC4'. Cannot insert duplicate key in object 'JDO_SEQUENCEX'.
  2. 0

    Deleting dependent objects question

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The statement has been terminated.
  3. 0

    does anybody see wrong with my update or insert queries? I am using prepared statement

    Stack Overflow | 6 years ago | aditya86c
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Read and store user info using PUMA

    Google Groups | 1 decade ago | karin.bj...@intentia.se
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert duplicate key row in object 'WMMLAATR' with unique index 'WMMI067'.
  6. 0

    JDBC/DAO IllegalStateException on connection

    springframework | 1 decade ago | zoeacook
    java.sql.SQLException: \[Microsoft\]\[SQLServer 2000 Driver for JDBC\]The year, 100, is outside the range allowed by the SQL Server.

    1 unregistered visitors
    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. java.sql.SQLException

      [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK__JD O_SEQUENCEX__2D7CBDC4'. Cannot insert duplicate key in object 'JDO_SEQUENCEX'.

      at com.microsoft.jdbc.base.BaseExceptions.createException()
    2. com.microsoft.jdbc
      BasePreparedStatement.executeUpdate
      1. com.microsoft.jdbc.base.BaseExceptions.createException(UnknownSource)
      2. com.microsoft.jdbc.base.BaseExceptions.getException(UnknownSource)
      3. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(UnknownSource)
      4. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(UnknownSource)
      5. com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(UnknownSource)
      6. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
      7. com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(UnknownSource)
      8. com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(UnknownSource)
      9. com.microsoft.jdbc.base.BaseStatement.postImplExecute(UnknownSource)
      10. com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(UnknownSource)
      11. com.microsoft.jdbc.base.BaseStatement.commonExecute(UnknownSource)
      12. com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
      13. com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
      13 frames
    3. com.solarmetric.datasource
      PreparedStatementWrapper.executeUpdate
      1. com.solarmetric.datasource.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:111)
      1 frame
    4. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:542)
      2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:511)
      3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:405)
      4. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeNow(SQLExecutionManagerImpl.java:348)
      5. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeNow(SQLExecutionManagerImpl.java:337)
      6. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.refreshTable(DBSequenceFactory.java:180)
      7. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:128)
      8. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:445)
      9. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154)
      10. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096)
      10 frames
    5. com.cyclonecommerce.txm
      QueueServiceImpl.enqueue
      1. com.cyclonecommerce.txm.services.queue.impl.DocumentQueue.put(DocumentQueue.java:42)
      2. com.cyclonecommerce.txm.services.queue.impl.QueueServiceImpl.enqueue(QueueServiceImpl.java:65)
      2 frames
    6. txm.tests.unittests
      TestQueueMgr.testSimpleEnqueue
      1. txm.tests.unittests.queue.TestQueueMgr.testSimpleEnqueue(TestQueueMgr.java:48)
      1 frame
    7. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      3 frames
    8. txm.tests.unittests
      TestQueueMgr.main
      1. txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
      1 frame