Skip to Main Content

Java Development Tools

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to File Convert to Blob? help me

870192Jul 21 2011 — edited Jul 29 2011
Hey Guys...........
How to convert inputStream to blob ????

kit = new RTFEditorKit();
Document doc = kit.createDefaultDocument();
InputStream is = getUploadedFile().getInputStream();


DCIteratorBinding iterTemplate = ADFUtils.findIterator("TemplateVOIterator");
Row currentRow = iterTemplate.getCurrentRow();
String templateId = currentRow.getAttribute("Id").toString();

currentRow.setAttribute("TemplateFile", ????); in here Blob file....

"is" convert to blob ???

Regards Ninja,

Edited by: Ninja on Jul 21, 2011 7:04 PM

Edited by: Ninja on Jul 21, 2011 11:39 PM
This post has been answered by Timo Hahn on Jul 22 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2011
Added on Jul 21 2011
7 comments
13,643 views