Re: JDBC behaviour

From: Andreas Joseph Krogh <andreas(at)visena(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC behaviour
Date: 2016-02-18 10:22:13
Message-ID: VisenaEmail.108.57c63420bd267163.152f3e59516@tc7-visena
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

På torsdag 18. februar 2016 kl. 11:02:20, skrev Sridhar N Bamandlapally <
sridhar(dot)bn1(at)gmail(dot)com <mailto:sridhar(dot)bn1(at)gmail(dot)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
andreas(at)visena(dot)com <mailto:andreas(at)visena(dot)com>
www.visena.com <https://www.visena.com>
<https://www.visena.com>

 

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-02-18 10:29:37 Re: JDBC behaviour
Previous Message Vladimir Sitnikov 2016-02-18 10:05:10 Re: JDBC behaviour

Browse pgsql-hackers by date

  From Date Subject
Next Message John R Pierce 2016-02-18 10:29:37 Re: JDBC behaviour
Previous Message Etsuro Fujita 2016-02-18 10:18:59 Re: postgres_fdw join pushdown (was Re: Custom/Foreign-Join-APIs)

Browse pgsql-jdbc by date

  From Date Subject
Next Message John R Pierce 2016-02-18 10:29:37 Re: JDBC behaviour
Previous Message Vladimir Sitnikov 2016-02-18 10:05:10 Re: JDBC behaviour