The following is the ORA-22341 error message, you can learn the cause and solution of the Oracle database error.


ORA-22341 cannot assign supertype instance to subtype

Cause: 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.

Case:

Please wait for the update…