Oracle Solution for Error ora-24808

Solution for Oracle Error ORA-24808

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

What triggered the Error:

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

What should we do to fix it:

b 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.