Oracle Solution for Error ora-22975

Solution for Oracle Error ORA-22975

ORA-22975: cannot create a PRIMARY KEY-based REF to this object view

What triggered the Error:

e object view specified in the MAKE_REF function does not have a PRIMARY KEY-based object identifier. A PRIMARY KEY-based REF cannot be created for such a view.

What should we do to fix it:

ecify an object view that has a PRIMARY KEY-based object identifier in the MAKE_REF function.