From: | Haifeng Liu <liuhaifeng(at)live(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
Date: | 2012-12-14 03:29:25 |
Message-ID: | BLU0-SMTP23378AE609963CCB543ED38B94D0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-jdbc |
Begin forwarded message:
> From: Haifeng Liu <liuhaifeng(at)live(dot)com>
> Subject: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
> Date: December 13, 2012 6:44:56 PM GMT+08:00
> To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
>
> Hi,
>
> I have a DB writer program written in Java, it do batch updates, and will try to update each record in a batch if it failed. I think no any record in a batch will be update if the batch failed, but weirdly I found a few records update twice(very little amount among all records).
>
> Well, there is less stuff about postgresql jdbc driver. I wanna know if executeBatch really keep all the records in a batch untouched when the batch failed. Any help is appreciate.
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Williamson | 2012-12-14 03:34:34 | Re: allow a user to see current_query in pg_stat_activity in 8.4 |
Previous Message | Tom Lane | 2012-12-14 03:16:36 | Re: allow a user to see current_query in pg_stat_activity in 8.4 |
From | Date | Subject | |
---|---|---|---|
Next Message | ac@hsk.hk | 2012-12-14 06:56:09 | PostgreSQL contrib 9.2.x |
Previous Message | Alvaro Herrera | 2012-12-14 02:51:13 | Re: Read recover rows |
From | Date | Subject | |
---|---|---|---|
Next Message | Chen Huajun | 2012-12-14 13:29:33 | Re: performance problem of Failover Datasource? |
Previous Message | Chen Huajun | 2012-12-14 02:57:34 | Re: performance problem of Failover Datasource? |