Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Blob to inputstream

I_love_bitsJun 19 2015 — edited Jun 19 2015

Dear experts,

I have a stored procedure (PL/SQL) and there I call a Java Function.

The Java function gets a oracle.sql.Blob (PDF) as input.

How can I convert the Blob to an InputStream to make further manipulations with e.g. iText.

There are some suggestion out there but there I always have to deal with JDBC, get a connection to a DB etc.

Since I already have the Blob I don't need to select it from the DB.

How can I achieve this without any JDBC,...SELECT...

I simply would like to but the BLOB into an inputstream...

Thx for your help,

rrr

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2015
Added on Jun 19 2015
6 comments
3,272 views