I can get it from oracle, but not sure about the others.

java.sql.Statement stmt = myconnection.createStatement();
ResultSet myresultset =stmt.executeQuery("select data from table where id=1
");

BFILE bfile = null;
while (res.next()) {
        bfile = ((OracleResultSet)res).getBFILE (1);
        out.println("Just got the BFILE!");
}




-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Gemma Montero
Sent: 02 July 2001 07:58
To: [EMAIL PROTECTED]
Subject: BLOBS


Hi,

Can anybody send me some sample code to store and retreive blobs from a
database ?


Thank you.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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