-7039: Cycle in referential constraint definition invalid
Explanation:
An attempt has been made to generate a CONSTRAINT definition (REFERENTIAL CONSTRAINT DEFINITION) which would produce an invalid reference cycle. This CONSTRAINT definition would lead to discrepancies so the database system has rejected it.
User action:
Delete the cycle dependencies.