ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » com.microsoft.sqlserver.jdbc.SQLServerException

Post new topic  Reply to topic
 com.microsoft.sqlserver.jdbc.SQLServerException « View previous topic :: View next topic » 
Author Message
bokachod
PostPosted: Tue May 12, 2009 8:04 am    Post subject: com.microsoft.sqlserver.jdbc.SQLServerException Reply with quote

Newbie

Joined: 30 Apr 2009
Posts: 6

Error Message:
Execution of Prepared Update Statement Failed : com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint Emp. Cannot insert duplicate key in object 'dbo.Emp'


Hi
Senario- I/pQ -->Compute Node--->O/P Q--->JDBC

we are trying to update a record in Emp table ...through jdbc adapter...the database is MySQL.....but every time when verb is Update it is given above error message .
We are using wrapper.


My question is why the adapter is trying to insert the record instead of update.

Need urgent help.....

Please dont mind if I have posted in wrong forum.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » com.microsoft.sqlserver.jdbc.SQLServerException
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.