Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> BLOB manipulation

BLOB manipulation

From: Aviran Levy <avlevy2k_at_hotmail.com>
Date: Wed, 24 Oct 2001 10:27:50 -0400
Message-ID: <ceAB7.131$0N4.17571@news.shore.net>


Hi,
From a java application I'm trying to do:
...

Blob b = rs.getBlob("ZIP_FILE");
b.setBytes(1,byteArray);
...

but apparently I get a runtime exception since my oracle jdbc driver doesn't have implementation for the setBytes method. I probably need a newer oracle jdbc driver. Is anyone know where can I find one? Is anyone having that problem too?
My goal is to store a zip file on the Oracle server and manipulate it from the java application (avoiding calls for store procedures). If anyone knows a better way to do that then please... I'll appreciate any help about it. Note: to use setBytes you have to use JDK1.4 Thanks,
-- Avi Received on Wed Oct 24 2001 - 09:27:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US