pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@mail.com>
To: Haifeng Liu <liuhaifeng@live.com>
To: pgsql-admin@postgresql.org
Subject: Re: Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Date: Thu, 13 Dec 2012 11:06:07 -0500
Message-ID: <20121213160607.80090@gmx.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Haifeng Liu wrote:

> I wanna know if executeBatch really keep all the records in a
> batch untouched when the batch failed.

I recommend asking on the pgsql-jdbc list. You might want to
mention what autoCommit is set to during the attempt.

-Kevin


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (9+ messages)  latest in thread

Message-ID: <20121213160607.80090@gmx.com>
Permalink:  ../20121213160607.80090@gmx.com/
Also on:    postgresql.org/message-id/20121213160607.80090@gmx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: kgrittn@mail.com, liuhaifeng@live.com
  Subject: Re: Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
  In-Reply-To: <20121213160607.80090@gmx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox