RE: bytea not recognized by JDBC (7.0.2)

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: bytea not recognized by JDBC (7.0.2)
Дата
Msg-id 1B3D5E532D18D311861A00600865478CF1B5E1@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Ответ на bytea not recognized by JDBC (7.0.2)  (Olivier Jeannet <jeannet@montrouge.tt.slb.com>)
Список pgsql-interfaces

-- 
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council


> -----Original Message-----
> From: Olivier Jeannet [mailto:jeannet@montrouge.tt.slb.com]
> Sent: Tuesday, November 28, 2000 4:42 PM
> To: pgsql-interfaces@postgresql.org
> Subject: [INTERFACES] bytea not recognized by JDBC (7.0.2)

[snip]

> How can I select a "bytea" field ?

getBytes() should work.

> Is this a bug of the JDBC driver (or a not implemented feature) ?

No not quite. getObject() currently doesn't know about bytea, so it's
passing it on to the Serializable code which is then failing.

> I have looked at the mailing-list but didn't find the answer to my
> problem.

Actually I cant remember anyone asking about bytea, which is why it's got
overlooked.

Peter


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

Предыдущее
От: Dave Page
Дата:
Сообщение: RE: slow odbc access....
Следующее
От: Peter Mount
Дата:
Сообщение: RE: postgreSQL and javascript