How to fix the Oracle error ORA-26795: Cannot modify an LCR received from an XStream outbound server?

In this post, you’ll learn more about the Oracle ErrorORA-26795: Cannot modify an LCR received from an XStream outbound server with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-26795: Cannot modify an LCR received from an XStream outbound server

Reason for the Error ORA-26795: Cannot modify an LCR received from an XStream outbound server

An attempt was made to modify an LCR generated by an XStream outbound server.

How to fix the Error ORA-26795: Cannot modify an LCR received from an XStream outbound server ?

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

Clone the LCR generated by the XStream outbound server by using the provided OCILCR* functions, such as OCILCRNew, OCILCRHeaderSet, and OCILCRRowColumnInfoSet. Then modify the cloned LCR.