JDBC Prepared Statement Bug

Поиск
Список
Период
Сортировка
От Dave
Тема JDBC Prepared Statement Bug
Дата
Msg-id 3C90A753.2070106@candata.com
обсуждение исходный текст
Список pgsql-general
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. It looks like this is just getting converted to a
string which the backend is taking as an end of command so the insert
fails. I think for the chaacter type we need to check for this case and
convert it to a string of "\0". I am using 7.2 and the JDBC driver that
comes with it.



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

Предыдущее
От: Bruno Lopes (Desenvolvimento)
Дата:
Сообщение: Question about function
Следующее
От: Jesus Arocho
Дата:
Сообщение: Pgsql site