binary insert with JDBC

Поиск
Список
Период
Сортировка
От Sean Reilly
Тема binary insert with JDBC
Дата
Msg-id 355776ED.D161D88B@cnri.reston.va.us
обсуждение исходный текст
Список pgsql-interfaces
Can anyone tell me how to insert binary data into
a postgres table using JDBC?  What type field should I use?
Most importantly, how do I create an SQL statement with
binary data?  I thought this could be done with a
PreparedStatement and setBytes() but it doesn't seem to
be implemented in postgres.PreparedStatement.  Is there
some way to encode the binary value into the SQL string
(like hex encoding or something)?

I looked through the docs but couldn't find anything
related to this, but it seems like it might be a common
problem.

Thanks,
Sean

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Byron Nikolaidis
Дата:
Сообщение: ODBC Driver V.0239
Следующее
От: mike@h178133.nist.gov (Michael Tung)
Дата:
Сообщение: JDBC for postgresql 6.3.2.