Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3

Поиск
Список
Период
Сортировка
От Pavel Jbanov
Тема Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3
Дата
Msg-id 1106691330.20161.114.camel@localhost
обсуждение исходный текст
Ответ на Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Right, I had bool there. I've changed it to bit, now it works.

Thanks.

On Tue, 2005-01-25 at 14:58, Oliver Jowett wrote:
> getByte() expects a numeric value (TINYINT, although SMALLINT/int2 is
> the closest mapping in PostgreSQL). You appear to be trying to retrieve
> a text/varchar (or possibly boolean) value that can't be parsed as a
> numeric value.
>
> (there might be a driver bug here -- the JDBC datatype conversion tables
> indicate you can use getByte() on BIT/BOOLEAN, but I'm not sure what the
> exact conversion should be)
>
> -O

--
Pavel Jbanov
http://www.spicesoft.com/~pavel/


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

Предыдущее
От: Pavel Jbanov
Дата:
Сообщение: Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3