How to fix the Oracle error ORA-24808: streaming of lob data is not allowed when using lob buffering?

In this post, you’ll learn more about the Oracle ErrorORA-24808: streaming of lob data is not allowed when using lob buffering with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-24808: streaming of lob data is not allowed when using lob buffering

Reason for the Error ORA-24808: streaming of lob data is not allowed when using lob buffering

Attempted to stream lob data via the polling mode or a callback when lob buffering was enabled for the input lob locator.

How to fix the Error ORA-24808: streaming of lob data is not allowed when using lob buffering ?

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

Lob buffering is useful when reading/writing small amounts of lob data so streaming should not be necessary. Rewrite the OCILobRead/OCILobWrite call so that it does not use streaming. If streaming of data is required, lob buffering should not be used. In this case, flush buffers associated with the input lob locator as necessary, disable buffering on the input lob locator and reissue the OCILobRead/OCILobWrite call.

Tags :

Leave Your Comment