Oracle Error ORA-22810: cannot modify object attributes with REF dereferencing

Oracle Error Message

ORA-22810: cannot modify object attributes with REF dereferencing

Reason for the Error

An attempt was made to modify the attributes an object by dereferencing a REF column in an UPDATE statement.

Solution

Update the table containing the object that the REF points to, or change the REF column to an object type column.