Re: bytea not recognized by JDBC (7.0.2)

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

> > How can I select a "bytea" field ?
> 
> getBytes() should work.

Can you be more precise please ?
As I get an error from the JDBC driver doing the select, on what variable
should I use getBytes() ?

> > 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.

And what is the solution or work around ?

Regards,

-- 
Olivier Jeannet - e-Payment solutions I prefer not running 32 bit extensions for a 16 bit patch to an 8 bit operating
systemoriginally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.
 


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

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: Re: PgAccess is available on Mac OS X
Следующее
От: ""
Дата:
Сообщение: server side interfaces