Re: JDBC Prepared Statement Bug

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: JDBC Prepared Statement Bug
Дата
Msg-id m3n0xbqhdy.fsf@varsoon.denali.to
обсуждение исходный текст
Ответ на JDBC Prepared Statement Bug  (Dave <dave@candata.com>)
Список pgsql-general
Dave <dave@candata.com> writes:

> I am trying to use a Prepared Statement that has a character type. The
> value I am trying to use is  '\0' and it is getting set with the
> setObject method.

'\0' is not a legal value for character types.  You'll need to use the
BYTEA type instead and quote it properly.

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: order by a XML column
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Select not using primary key index