Oracle Error ORA-26095: unprocessed stream data exists

Oracle Error Message

ORA-26095: unprocessed stream data exists

Reason for the Error

Either a OCIDirPathLoadStream call was made which provided

* more stream data prior to the server being able to fully

* process the stream data that it already has, or a

* OCIDirPathFinish call was made when the server had

* unprocessed stream data.

Solution

Most likely an application mis-use of the direct path API.

* Make sure that the stream is not being reset inadvertently

* prior to any previous stream data being processed, or, that

* OCIDirPathFinish is not being called prematurely (i.e. stream

* pushed, error encountered and LoadStream not called to process

* the remainder of the stream before Finish is called.)