From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC behaviour
Date: Thu, 18 Feb 2016 10:04:56 +0100 (CET)
Message-ID: <VisenaEmail.f9.f93505ffc59eaf2e.152f39d340c@tc7-visena> (raw)
In-Reply-To: <CAGuFTBW=rFvmv2MibYp1UQTNhM93X--ARnd0J22mNoCufBOsgA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
På torsdag 18. februar 2016 kl. 09:51:47, skrev Sridhar N Bamandlapally <
sridhar.bn1@gmail.com <mailto:sridhar.bn1@gmail.com>>:
Ok, let me put this way
in JDBC we have setAutoCommit( false ) , and all dmls are independent
transactions
and when any transaction fails then the session not allowing next transactions
in Java when we do setAutoCommit( false ) its behaving like all transactions
in BEGIN-END block, this is not expected behavior
i guess this is bug
No, you got it backwards. With autocommit=false all statements are NOT
independent transactions.
-- 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.f9.f93505ffc59eaf2e.152f39d340c@tc7-visena>
References: <CAGuFTBW=rFvmv2MibYp1UQTNhM93X--ARnd0J22mNoCufBOsgA@mail.gmail.com> <VisenaEmail.f9.f93505ffc59eaf2e.152f39d340c@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