ORA-22927
Invalid large object (LOB) locator specified.
Cause
There are several causes:
- The LOB locator was never initialized.
- The locator was a BFILE locator and the routine expects a BLOB/CLOB/NCLOB locator.
- The locator was a BLOB/CLOB/NCLOB locator and the routine expects a BFILE locator.
- A LOB in a trigger body is read-only, and a trigger body attempted to update the LOB.
Action
For 1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For 2) and 3), pass a locator of correct types to the routine. For 4), remove statements in the trigger body that update LOB values.
ORA-22927
invalid LOB locator specified
Cause
There are several causes: (1) the LOB locator was never initialized; (2) the locator is for a BFILE and the routine expects a BLOB/CLOB/NCLOB locator; (3) the locator is for a BLOB/CLOB/NCLOB and the routine expects a BFILE locator; (4) trying to update the LOB in a trigger body -- LOBs in trigger bodies are read only.
Action
For (1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For (2) and (3), pass the correct type of locator into the routine. For (4), remove the trigger body code that updates the LOB value.
ORA-22927
invalid LOB locator specified
Cause
There are several causes: (1) the LOB locator was never initialized; (2) the locator is for a BFILE and the routine expects a BLOB/CLOB/NCLOB locator; (3) the locator is for a BLOB/CLOB/NCLOB and the routine expects a BFILE locator; (4) trying to update the LOB in a trigger body -- LOBs in trigger bodies are read only.
Action
For (1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For (2) and (3), pass the correct type of locator into the routine. For (4), remove the trigger body code that updates the LOB value.