How to fix the Oracle error ORA-19037: XMLType result can not be a fragment?

In this post, you’ll learn more about the Oracle ErrorORA-19037: XMLType result can not be a fragment with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-19037: XMLType result can not be a fragment

Reason for the Error ORA-19037: XMLType result can not be a fragment

The select item of the query in newContextFromHierarchy() is an XML fragment.

How to fix the Error ORA-19037: XMLType result can not be a fragment ?

You can fix this error in Oracle by following the below steps

Make sure the select item of the query in newContextFromHierarchy() is NOT an XML fragment

Tags :

Leave Your Comment