ORA-22341: cannot assign supertype instance to subtype
What triggered the Error:
attempt was made to assign or copy a supertype instance to a container (destination) that can only hold a subtype instance.What should we do to fix it:
ke 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