BLOBS with jdbc (again)

Поиск
Список
Период
Сортировка
Искать

BLOBS with jdbc (again)

От:
Mattias Lingdell <matling@stp.ling.uu.se>
Дата:

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)


RE: BLOBS with jdbc (again)

От:
Peter Mount <petermount@it.maidstone.gov.uk>
Дата:
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)

FAQ