MultiTableInfo Foreign Key Mapping Leads to ORA-02291: integrity constraint violated - parent key not found
(Doc ID 554601.1)
Last updated on MAY 25, 2021
Applies to:Oracle TopLink - Version 10.1.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Feb-2012***
***Checked for relevance on 27-Oct-2013***
Two tables are mapped with a one-to-many relationship (Primary-Detail), using a MultiTableInfo descriptor.
With the given foreign key mappings, insertion into the tables using Toplink 10.1.3.3 fails with the following message:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Workaround # 1:|
|Workaround # 2:|