Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)

Поиск
Список
Период
Сортировка
От Haifeng Liu
Тема Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Дата
Msg-id BLU0-SMTP1143B3C57133A122263A47AB94E0@phx.gbl
обсуждение исходный текст
Список pgsql-admin
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(verylittle 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
batchuntouched when the batch failed. Any help is appreciate. 

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: 9.1 Streaming Replication
Следующее
От: Bèrto ëd Sèra
Дата:
Сообщение: pooler/router?