Re: JDBC behaviour - Mailing list pgsql-jdbc

From Andreas Joseph Krogh
Subject Re: JDBC behaviour
Date
Msg-id VisenaEmail.108.57c63420bd267163.152f3e59516@tc7-visena
Whole thread Raw
In response to Re: JDBC behaviour  (Sridhar N Bamandlapally <sridhar.bn1@gmail.com>)
List pgsql-jdbc
På torsdag 18. februar 2016 kl. 11:02:20, skrev Sridhar N Bamandlapally <sridhar.bn1@gmail.com>:
Andreas, ROLLBACK doesn't work as it do for all previous statements, 
 
autocommit ON is not option as it controlled by connection pool, 
 
with this the simple "statement" with need to replace with "try-catch", "savepoint", "statement" and "rollback to savepoint", this looks lot of changes in code to make it app/java-database compatible, 
 
still, this is bug
 
ROLLBACK is not a per-statement command, but a per-transaction.
I think you have to re-read the answers given in this thread.
 
--
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: John R Pierce
Date:
Subject: Re: JDBC behaviour