Re: Batch Inserts: Bug in 9.4.1208? Wrong binary data format

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: Batch Inserts: Bug in 9.4.1208? Wrong binary data format
Дата
Msg-id CAB=Je-ENZ7SQ6cWFmLkP2=2=+iOGafaDEZaouxACmqZXMWOu3g@mail.gmail.com
обсуждение исходный текст
Ответ на Batch Inserts: Bug in 9.4.1208? Wrong binary data format  ("Merder, Markus" <Markus.Merder@adesso.de>)
Ответы Re: Batch Inserts: Bug in 9.4.1208? Wrong binary data format  (Radoslav Petrov <rado@edno.moe>)
Список pgsql-jdbc
Hi Markus,

>Removing the affected lines in the source file didn’t solve the problem and after some investigation I found out, that a workaround is to use PreparedStatment. setObject(int parameterIndex, Object x, int sqlType) instead of setObject(int parameterIndex, Object x). I know this method is the recommended one anyway, but I still believe it is an unknown bug in 9.4.1208. because it was working in 9.3.


Do you have a small testcase by chance that reproduces the issue?

I think there are similar testcases in the regression suite, however it looks like your case is somewhat special.

Vladimir

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

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Batch Inserts: Bug in 9.4.1208? Wrong binary data format
Следующее
От: Radoslav Petrov
Дата:
Сообщение: Re: Batch Inserts: Bug in 9.4.1208? Wrong binary data format