Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) - Mailing list pgsql-jdbc

From Maciek Sakrejda
Subject Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Date
Msg-id CAOtHd0AzuXqNS=Q9n1s-960_qzjyYFDGSx7NRWo90xV4L_jbGA@mail.gmail.com
Whole thread Raw
In response to Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)  (Haifeng Liu <liuhaifeng@live.com>)
List pgsql-jdbc
On Thu, Dec 13, 2012 at 7:29 PM, Haifeng Liu <liuhaifeng@live.com> wrote:
> 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.

No, executeBatch() is orthogonal to transactions:

http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#executeBatch()


pgsql-jdbc by date:

Previous
From: Chen Huajun
Date:
Subject: Re: performance problem of Failover Datasource?
Next
From: dmp
Date:
Subject: Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)