Subject | Re: [Firebird-Java] Possible bug in batch updates |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-07-17T00:06:17Z |
Hi,
list after the batch execution. I will fix it tomorrow. Until the new
version is released, please add clearBatch() call after the executeBatch()
call.
Thanks!
Roman
> ...Thanks for the report. This is a bug in driver - driver does not clear batch
> That final ps.executeBatch() throws a GDS Exception: 335544665, a
> primary key violation. Removing the first executeBatch fixes the
> problem, as does simply calling executeUpdate() instead of
> addBatch() executeBatch() each time, which is why I believe it is a
> problem with batching. Please let me know if I can provide more
> info.
list after the batch execution. I will fix it tomorrow. Until the new
version is released, please add clearBatch() call after the executeBatch()
call.
Thanks!
Roman