Re: JDBC behaviour - Mailing list pgsql-jdbc

From Andreas Joseph Krogh
Subject Re: JDBC behaviour
Date
Msg-id VisenaEmail.fd.a0847dd522e46d81.152f3b0448d@tc7-visena
Whole thread Raw
In response to Re: JDBC behaviour  (Sridhar N Bamandlapally <sridhar.bn1@gmail.com>)
Responses Re: JDBC behaviour
List pgsql-jdbc
På torsdag 18. februar 2016 kl. 10:20:51, skrev Sridhar N Bamandlapally <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
 
Attachment

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: JDBC behaviour
Next
From: Sridhar N Bamandlapally
Date:
Subject: Re: JDBC behaviour