Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8623

issue in updating multiple records in receiver JDBC

$
0
0

Hi All,

 

I need to update multiple records in JDBC. I have created the message type and corresponding payload is given below. For single record, it is working fine but when i try to send multiple records, I am getting error that primary key violation. Please suggest how to achieve updating multiple records.

 

<?xml version="1.0" encoding="UTF-8" ?>

 

-<ns1:MT_PO_Closure_Response xmlns:ns1="http://PO_Closure_IB">

 

 

-<ControlRecord>

 

 

-<dbTableName action="UPDATE">

 

 

<table>t_al_host_sql_export_queue</table>

 

 

-<access>

 

 

<host_group_id>BEF05BBA-752D-4A28-BE7B-492DB8FE4B86</host_group_id>

 

 

<status>C</status>

 

</access>

 

-<access>

 

 

<host_group_id>06E35820-9204-4D58-84E9-F1E56C44E248</host_group_id>

 

 

<status>C</status>

 

</access>

 

-<key>

 

 

<host_group_id>BEF05BBA-752D-4A28-BE7B-492DB8FE4B86</host_group_id>

 

</key>

 

-<key>

 

 

<host_group_id>06E35820-9204-4D58-84E9-F1E56C44E248</host_group_id>

 

</key>

</dbTableName>

</ControlRecord>

</ns1:MT_PO_Closure_Response>

 

Thanks


Viewing all articles
Browse latest Browse all 8623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>