From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC behaviour
Date: Thu, 18 Feb 2016 11:59:50 +0100 (CET)
Message-ID: <VisenaEmail.10a.1f49c7f5f62b57b3.152f4086070@tc7-visena> (raw)
In-Reply-To: <CAGuFTBWODgA_-JLGWBHqg_2NUZWDiKZSUkNgFJj_CZ4gZcqjVQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
På torsdag 18. februar 2016 kl. 11:43:36, skrev Sridhar N Bamandlapally <
sridhar.bn1@gmail.com <mailto:sridhar.bn1@gmail.com>>:
The code/framework is written to handle batch inserts, which is common for all
databases
I feel, PostgreSQL JDBC may need to modify setAutoCommit(false) code to
"implicit savepoint - on error - rollback to savepoint"
You simply cannot have batch-inserts in the same transaction and expecting the
batch not to fail if one of the statements in the batch fails.
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
<https://www.visena.com;
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: andreas@visena.com
Subject: Re: JDBC behaviour
In-Reply-To: <VisenaEmail.10a.1f49c7f5f62b57b3.152f4086070@tc7-visena>
References: <CAGuFTBWODgA_-JLGWBHqg_2NUZWDiKZSUkNgFJj_CZ4gZcqjVQ@mail.gmail.com> <VisenaEmail.10a.1f49c7f5f62b57b3.152f4086070@tc7-visena>
* 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