Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7846

JDBC Receiver Insert : Integrity Constraint Violation

$
0
0

Hello,

 

Scenario:

 

One IDOC will create two different messages to update 2 different tables. One table is having constraint to other table i.e. while updating or inserting data in one table, it looks for key values whether present in the other table.

 

Approach:

 

Used 2 different operation mappings.

 

Issue:

 

In some cases we are facing message failure due to integrity constraint violated - parent key not found.

 

Solution provided:

 

To put some delay in message mapping for updating the table having constraint.

 

My question is: Is there any other way to avoid this issue? As this solution can't eliminate the issue, it can just reduce the probability of failure.

 

Regards,

Suman


Viewing all articles
Browse latest Browse all 7846

Trending Articles



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