| From: | Maciek Sakrejda <m(dot)sakrejda(at)gmail(dot)com> |
|---|---|
| To: | Haifeng Liu <liuhaifeng(at)live(dot)com> |
| Cc: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
| Date: | 2012-12-14 16:05:00 |
| Message-ID: | CAOtHd0AzuXqNS=Q9n1s-960_qzjyYFDGSx7NRWo90xV4L_jbGA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general pgsql-jdbc |
On Thu, Dec 13, 2012 at 7:29 PM, Haifeng Liu <liuhaifeng(at)live(dot)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()
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Haifeng Liu | 2012-12-14 16:25:23 | Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
| Previous Message | dmp | 2012-12-14 15:56:48 | Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | joshua | 2012-12-14 16:06:29 | Re: Implicit casts to array types |
| Previous Message | Merlin Moncure | 2012-12-14 16:00:50 | Re: Implicit casts to array types |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Haifeng Liu | 2012-12-14 16:25:23 | Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
| Previous Message | dmp | 2012-12-14 15:56:48 | Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |