Oracle Error ORA-19038: Invalid opertions on query context

Oracle Error Message

ORA-19038: Invalid opertions on query context

Reason for the Error

SetMaxRows, SetSkipRows, SetRowTagName opertions are applied to a query context created from newContextFromHierarchy().

Solution

SetMaxRows, SetSkipRows, SetRowTagName opertions can not be applied to a query context created from newContextFromHierarchy().