Re: Possible bug / regression from generated keys

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Possible bug / regression from generated keys
Дата
Msg-id alpine.BSO.2.00.1211081448190.1603@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Possible bug / regression from generated keys  (Peter Cooner <petriborg@gmail.com>)
Список pgsql-jdbc

On Thu, 8 Nov 2012, Peter Cooner wrote:

> Brilliant! I wonder why my test case doesn't do that, as its so close
> to yours, alas.

The key to reproducing this is having both a getParameterMetaData call
before execution and a batch size larger than the driver's
prepareThreshold, so if you tested a batch of two, this will never be
triggered.

> I'm glad the problem has finally been exposed. Any idea why this
> doesn't happen in the older driver? Did something change or is by
> chance?
>

The older driver's do not support binary transfer at all.

Kris Jurka


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

Предыдущее
От: Peter Cooner
Дата:
Сообщение: Re: Possible bug / regression from generated keys
Следующее
От: dmp
Дата:
Сообщение: JDBC Source Builds