 -7039: Cycle in referential constraint definition not allowed
-7039: Cycle in referential constraint definition not allowed 
The attempt was made to create a referential CONSTRAINT definition which would produce an invalid reference cycle. This CONSTRAINT definition would lead to discrepancies so the database system has rejected it.
Delete the cycle dependencies.