Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)

Поиск
Список
Период
Сортировка
От Haifeng Liu
Тема Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Дата
Msg-id BLU0-SMTP23378AE609963CCB543ED38B94D0@phx.gbl
обсуждение исходный текст
Ответы Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)  (dmp <danap@ttc-cmc.net>)
Список pgsql-jdbc


Begin forwarded message:

From: Haifeng Liu <liuhaifeng@live.com>
Subject: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Date: December 13, 2012 6:44:56 PM GMT+08:00

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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


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

Предыдущее
От: Chen Huajun
Дата:
Сообщение: Re: performance problem of Failover Datasource?
Следующее
От: Chen Huajun
Дата:
Сообщение: Re: performance problem of Failover Datasource?