HomeOracleOracle Error ORA-22341: cannot assign supertype instance to subtype

Oracle Error ORA-22341: cannot assign supertype instance to subtype

Oracle Error Message

ORA-22341: cannot assign supertype instance to subtype

Reason for the Error

An attempt was made to assign or copy a supertype instance to a container (destination) that can only hold a subtype instance.

Solution

Make sure the runtime type of the source of the assignment or copy is the same type as the destination or is a subtype of the destination type

Share:

Leave a Reply

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...