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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via Unknown by 3004,
  • via Unknown by Maximilian Trenks,
  • Stack trace

    • 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 at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:247) at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528) at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245) at com.bea.ld.ServerBean.submit(ServerBean.java:529) at com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910) at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492) at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430) at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) at java.lang.Thread.startThreadFromVM(Unknown Source) Caused by: 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(TdsStatement.java:1178) at weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089) at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756) at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210) at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97) at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455) at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147) at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.