RE: BLOBS with jdbc (again) - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: BLOBS with jdbc (again)
Date
Msg-id 1B3D5E532D18D311861A00600865478CF1B022@exchange1.nt.maidstone.gov.uk
Whole thread Raw
In response to BLOBS with jdbc (again)  (Mattias Lingdell <matling@stp.ling.uu.se>)
List 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@stp.ling.uu.se]
Sent: Wednesday, July 05, 2000 4:07 PM
To: pgsql-interfaces@postgresql.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@stp.ling.uu.se)
---(stp.ling.uu.se/~matling)


pgsql-interfaces by date:

Previous
From: Mattias Lingdell
Date:
Subject: BLOBS with jdbc (again)
Next
From: "Cesar A. K. Grossmann"
Date:
Subject: Visual Basic/ODBC/PostgreSQL