Re: Possible bug / regression from generated keys - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Possible bug / regression from generated keys
Date
Msg-id alpine.BSO.2.00.1211081448190.1603@leary.csoft.net
Whole thread Raw
In response to Re: Possible bug / regression from generated keys  (Peter Cooner <petriborg@gmail.com>)
List 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 by date:

Previous
From: Peter Cooner
Date:
Subject: Re: Possible bug / regression from generated keys
Next
From: dmp
Date:
Subject: JDBC Source Builds