Skip to Content
author's profile photo Former Member
Former Member

receiver JDBC communication channel

Hi,

when I am trying to do UPDATE_INSERT in the receiver communication channel simultaneously for four tables, the error which I am getting is Violation of PRIMARY KEY constraint 'PK_CUSTOMER_RUOLO_PARTNER'. Cannot insert duplicate key in object 'dbo.CUSTOMER_RUOLO_PARTNER'.

could anyone help me out with this.

thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 04, 2008 at 12:31 PM

    The jdbc payload has already inserted some data with some key. Ur key value is either not present or is not properly recognized by the receiver system. Therefore it is trying to insert the record which u may wish to update.

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2008 at 12:34 PM

    did u gave "UPDATE_INSERT" for action Attribute in Message Type of the Receiver Message Mapping???

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.