Oracle Error ORA-22294: cannot update a LOB opened in read-only mode

Oracle Error Message

ORA-22294: cannot update a LOB opened in read-only mode

Reason for the Error

An attempt was made to write to or update a LOB opened in read-only mode.

Solution

Close the LOB and re-open it in read-write mode before attempting to write to or update the LOB.