Oracle Error Message
ORA-22887: type of REF column is not the same as that of its scoped table
Reason for the Error
The type specified for the REF column and the type specified for the scope table are different.
Solution
Ensure that the types of a REF column and its scoped table are the same.