Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: BLOBS in java and Oracle
Wolfgang,
you can find a pretty simple example on how to use BLOBs in the Oracle8i distribution. Depending what OS you use it's under $ORACLE_HOME/jdbc/demo/demo.(zip,tar) and is called LobExample.java. Have a look at it and please feel free to ask if you have further questions.
Timo.
In article <37B14FF2.E39AA91E_at_ce.uni-linz.ac.at>,
wolfgang karrer <wolfgang.karrer_at_ce.uni-linz.ac.at> wrote:
> This is a multi-part message in MIME format.
> --------------B8ACAEFF6B566715DDB4C93E
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi,
>
> i want to save a FILE (choosed by the JFileChooser) in a BLOB
Datatype!
> Which Datatype for the BLOB should i use, and which package should i
> import?
>
> How can i convert the file in BLOB?
>
> Can i use a preparedstatement.setBlob?
>
> Thanks for helping me!!
>
> --------------B8ACAEFF6B566715DDB4C93E
> Content-Type: text/x-vcard; charset=us-ascii;
> name="wolfgang.karrer.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for wolfgang karrer
> Content-Disposition: attachment;
> filename="wolfgang.karrer.vcf"
>
> begin:vcard
> n:Karrer;Wolfgang
> tel;fax:0732 68 17 85
> tel;home:0699 134 18 469
> tel;work:0732 2468 7104
> x-mozilla-html:FALSE
> adr:;;;;;;
> version:2.1
> email;internet:wolfgang.karrer_at_ce.uni-linz.ac.at
> fn:Wolfgang Karrer
> end:vcard
>
> --------------B8ACAEFF6B566715DDB4C93E--
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Aug 12 1999 - 01:33:24 CDT