java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'XXXXXXXX' defined on 'EVENTS'.

manifoldcf-user | Karl Wright | 5 years 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

    Re: Derby DB up-to-date?

    manifoldcf-user | 5 years ago | Karl Wright
    java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'XXXXXXXX' defined on 'EVENTS'.
  2. 0

    Re: Derby DB up-to-date?

    manifoldcf-user | 5 years ago | Karl Wright
    java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'XXXXXXXX' defined on 'EVENTS'.

    Root Cause Analysis

    1. java.sql.SQLIntegrityConstraintViolationException

      The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'XXXXXXXX' defined on 'EVENTS'.

      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException()
    2. Derby
      EmbedStatement.executeStatement
      1. org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
      2. org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
      3. org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
      4. org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
      5. org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
      6. org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
      7. org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      7 frames