Subject RE: [Firebird-Java] Possible bug in batch updates
Author Rick DeBay
If statement pooling is not disabled, will this problem also occur?
Will the statements handed out from the pool exhibit this behavior?
If so, do you have any idea when RC4 will be released?

-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: Monday, July 19, 2004 10:07 AM
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Possible bug in batch updates

> Unfortunately, I've added a ps.clearBatch() call, and it does not
> fix the problem. Here is my new test case:
> ...
> I get the same violation of primary key constraint pk_foo on the
> second executeBatch(). Maybe the problem is in clearBatch()? Hope
> this helps.

The bug was deeper than I thought. It is fixed now. Unfortunatelly there
is
no workaround for RC3 except creating new prepared statement. If you
wish,
you can build the driver from the CVS, but give some time for SF.net
anonymous CVS synchronization.

Thanks a lot for your help!
Roman