com.microsoft.sqlserver.jdbc.SQLServerException: Violation of UNIQUE KEY constraint 'ukPhrase'. Cannot insert duplicate key in object 'dbo.phrase'. Error Code: 2627 Call: INSERT INTO phrase (phrase, languageCode, phraseAdminID, companyID) VALUES (?, ?, ?, ?) bind = [Choisez votre, fr, 65, 3] Query: InsertObjectQuery(net.bawtry.webshop.PhraseAdmin[id=-1])

hivmr.com | 7 months 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

    db:: 3.72::Work Status Error Cannot insert duplicate key row in object 'dbo.tblMainLoc kx

    hivmr.com | 7 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: Violation of UNIQUE KEY constraint 'ukPhrase'. Cannot insert duplicate key in object 'dbo.phrase'. Error Code: 2627 Call: INSERT INTO phrase (phrase, languageCode, phraseAdminID, companyID) VALUES (?, ?, ?, ?) bind = [Choisez votre, fr, 65, 3] Query: InsertObjectQuery(net.bawtry.webshop.PhraseAdmin[id=-1])
  2. 0

    Does Glassfish Enterprise Server v2.1.1 require identity field == null?

    Oracle Community | 7 years ago | 843833
    com.microsoft.sqlserver.jdbc.SQLServerException: Violation of UNIQUE KEY constraint 'ukPhrase'. Cannot insert duplicate key in object 'dbo.phrase'. Error Code: 2627 Call: INSERT INTO phrase (phrase, languageCode, phraseAdminID, companyID) VALUES (?, ?, ?, ?) bind => [Choisez votre, fr, 65, 3] Query: InsertObjectQuery(net.bawtry.webshop.PhraseAdmin[id=-1])

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      Violation of UNIQUE KEY constraint 'ukPhrase'. Cannot insert duplicate key in object 'dbo.phrase'. Error Code: 2627 Call: INSERT INTO phrase (phrase, languageCode, phraseAdminID, companyID) VALUES (?, ?, ?, ?) bind = [Choisez votre, fr, 65, 3] Query: InsertObjectQuery(net.bawtry.webshop.PhraseAdmin[id=-1])

      at oracle.toplink.essentials.exceptions.DatabaseException.sqlException()
    2. oracle.toplink.essentials
      DatabaseException.sqlException
      1. oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
      1 frame