Oracle Error ORA-22277: cannot use two different locators to modify the same LOB

Oracle Error Message

ORA-22277: cannot use two different locators to modify the same LOB

Reason for the Error

LOB buffering is enabled and an attempt was made to modify the LOB using two different LOB locators.

Solution

When using LOB buffering, modify the LOB through one LOB locator only.