Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
ArntJohan
Contributor II
Contributor II

using qlik replicate where target endpoint has RI defined (DB2)

Hi !

I am strugling replicating changes to a DB2 target endpoint where RI rules are defined.  Error message NativeError: -532
qlik trying to delete a row on mother tabel where the row exist in child table.... so it's not allowed according to RI rules set.

I am using transactional apply.

Is there a way I can ensure qlik does the delete (in this case) in the correct order.... first child and to mother table ?

Or is it not possible to use qlik replicate in combination with RI on target endpoint ?

Thanks

Arnt Johan Opheim
 

 

 

 

Labels (1)
2 Solutions

Accepted Solutions
john_wang
Support
Support

Hello @ArntJohan ,

Welcome to Qlik Community forum and thanks for reaching out here!

It looks to me the transactional apply mode in Qlik Replicate does not help, unless the source DB side changes meet the target side RI Definition. There is a good article define DELETE CASCADE on the foreign key table, hope it helps.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

ArntJohan
Contributor II
Contributor II
Author

Thank's John !

BR

Arnt Johan

View solution in original post

2 Replies
john_wang
Support
Support

Hello @ArntJohan ,

Welcome to Qlik Community forum and thanks for reaching out here!

It looks to me the transactional apply mode in Qlik Replicate does not help, unless the source DB side changes meet the target side RI Definition. There is a good article define DELETE CASCADE on the foreign key table, hope it helps.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
ArntJohan
Contributor II
Contributor II
Author

Thank's John !

BR

Arnt Johan