com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1

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

    To add new record into the table Data Service client

    Oracle Community | 10 years ago | 666705
    com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
  2. 0

    SQLException in ejbCreate()

    Google Groups | 1 decade ago | amit modak
    java.sql.SQLException: Line 6: Incorrect syntax near ')'. Severity 15, State 1, Procedure 'CECLIENT7 null', Line 6
  3. 0

    SQLException in ejbCreate()

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: Line 6: Incorrect syntax near ')'. Severity 15, State 1, Procedure 'CECLIENT7 null', Line 6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BMP ejbRemove() problem

    Coderanch | 1 decade ago | Maximilian Trenks
    java.sql.SQLException: Verletzung der PRIMARY KEY-Einschr�nkung 'PK_Person'. Ein doppelter Schl�ssel kann in das persons-Objekt nicht eingef�gt werden. Severity 14, State 1, Procedure 'MAXWELL null', Line 1

    Root Cause Analysis

    1. java.sql.SQLException

      Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1

      at weblogic.jdbc.mssqlserver4.TdsStatement.processWarning()
    2. weblogic.jdbc.mssqlserver4
      TdsStatement.executeUpdate
      1. weblogic.jdbc.mssqlserver4.TdsStatement.processWarning(TdsStatement.java:1178)
      2. weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089)
      3. weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756)
      4. weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
      5. weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97)
      6. weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455)
      6 frames
    3. weblogic.jdbc.wrapper
      PreparedStatement.executeUpdate
      1. weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147)
      1 frame
    4. com.bea.ld
      Server_ydm4ie_EOImpl_WLSkel.invoke
      1. com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151)
      2. com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528)
      3. com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245)
      4. com.bea.ld.ServerBean.submit(ServerBean.java:529)
      5. com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910)
      6. com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
      6 frames
    5. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
      1 frame
    6. weblogic.rmi.cluster
      ReplicaAwareServerRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
      1 frame
    7. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
      1 frame
    8. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    9. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    10. weblogic.rmi.internal
      BasicExecuteRequest.execute
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
      2. weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
      2 frames
    11. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
      2 frames
    12. Java RT
      Thread.startThreadFromVM
      1. java.lang.Thread.startThreadFromVM(Unknown Source)
      1 frame