Re: Problem with boolean type

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Problem with boolean type
Дата
Msg-id 4165A2CF.6050305@opencloud.com
обсуждение исходный текст
Ответ на Problem with boolean type  ("Johann Robette" <jrobette@onyme.com>)
Список pgsql-jdbc
Johann Robette wrote:

> I'm using Postgres 8.0 beta 3 and the appropriate JDBC Driver.

What is the "appropriate JDBC driver"?

> I use EJB to create a record in a table containing a Boolean field
> "answered".
> The EJB method expects a Boolean object so I pass new Boolean(false) in
> order to create it as false.
>
> But I get the following error :
> java.sql.SQLException: ERROR: column "answered" is of type boolean but
> expression is of type text

Do you have access to the code that is calling the JDBC driver? Can you
show us that code?

-O

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Translation updates: errors_ru.properties
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Translation updates: errors_ru.properties