From: | Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Mattias Lingdell'" <matling(at)stp(dot)ling(dot)uu(dot)se>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | RE: BLOBS with jdbc (again) |
Date: | 2000-07-05 15:27:12 |
Message-ID: | 1B3D5E532D18D311861A00600865478CF1B022@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Look at the example/ImageViewer.java file in the source. It shows how to
import and export files.
--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council
-----Original Message-----
From: Mattias Lingdell [mailto:matling(at)stp(dot)ling(dot)uu(dot)se]
Sent: Wednesday, July 05, 2000 4:07 PM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] BLOBS with jdbc (again)
How can I insert a file (e.g. an image file) as a BLOB into a table and
retrive it using the postgreSQL jdbc-driver if not using a
Stream? I've tried using setObject to include the file in a
prepared statement but it is not working.
/Mattias
--(matling(at)stp(dot)ling(dot)uu(dot)se)
---(stp.ling.uu.se/~matling)
From | Date | Subject | |
---|---|---|---|
Next Message | jeam | 2000-07-05 20:51:31 | ODBC Security Concerns |
Previous Message | Mattias Lingdell | 2000-07-05 15:06:55 | BLOBS with jdbc (again) |