Oracle Database 12c New Features

ORA-19028: Invalid ADT parameter passed to toObject() function

ORA-19028: Invalid ADT parameter passed to toObject() function


Cause:


The object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type.



Action:


Pass an object of the correct type to toObject().