pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC behaviour
Date: Thu, 18 Feb 2016 10:24:29 +0100 (CET)
Message-ID: <VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@tc7-visena> (raw)
In-Reply-To: <CAGuFTBXf_1Vws=Ja3nCqvRGvWPE2W4ATpCyxrreCgWFi0Yii=w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

På torsdag 18. februar 2016 kl. 10:20:51, skrev Sridhar N Bamandlapally <
sridhar.bn1@gmail.com <mailto:sridhar.bn1@gmail.com>>:
setAutoCommit(false), it should not be treating all next transactions as 
single set, simple, this is what expected behavior
 
The point is that all subsequent statements (after an exception) are part of 
the same transaction (in autocommit=false mode). So you have to issue an 
explicit ROLLBACK before any new statement can give meaningful results.
 
-- 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;


 

view thread (73+ messages)  latest in thread

Message-ID: <VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@tc7-visena>
Permalink:  ../VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@tc7-visena

 · 

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 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.fd.a0847dd522e46d81.152f3b0448d@tc7-visena>
  References: <CAGuFTBXf_1Vws=Ja3nCqvRGvWPE2W4ATpCyxrreCgWFi0Yii=w@mail.gmail.com> <VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@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