Hi,

a rs.getBinaryStream(blobColumnIndex) on the result set you retrieve from
the db should be the answer.
A look here should be useful.
http://www.jguru.com/jguru/faq/view.jsp?EID=20336

Hope this helps,

Best regards,

Thanos Varias
====================
Technical Consultant
Information Dynamics S.A.
Athens, Greece

----- Original Message -----
From: "Ritu Kamboj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 11:48 AM
Subject: how to fetch blobs from the oracle database using java.


> Hi  All,
>
> i have created a table in my database as
>
>  create table a
> ( name  blob,
>          id   number);
>
> and i have stored some images in the blob column, and their corresponding
> id's
> can anybody tell me how i should go about retrieving these images from the
> database and
> display them !!
>
> Thanks
> Ritu
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to