Re: Bug in boolean columns on win2k

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Bug in boolean columns on win2k
Дата
Msg-id Pine.BSO.4.56.0409152340220.13474@leary.csoft.net
обсуждение исходный текст
Ответ на Bug in boolean columns on win2k  (Mads Peter Henderson <mads.henderson@tietoenator.com>)
Список pgsql-bugs
On Wed, 15 Sep 2004, Mads Peter Henderson wrote:

> I have a table with the following column, from "psql \d":
> showemail    | boolean                     |
>
> When I try to insert data data into this through jdbc, I get the
> following error:
> java.sql.SQLException: ERROR: column "showemail" is of type boolean but
> expression is of type text


Are you using something like PreparedStatement.setString to compose this
query?  You should be using setBoolean instead I imagine.

Kris Jurka

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

Предыдущее
От: Mads Peter Henderson
Дата:
Сообщение: Bug in boolean columns on win2k
Следующее
От: Harald Armin Massa
Дата:
Сообщение: Re: Cannot install properly on WinXP...