Skip site navigation (1) Skip section navigation (2)

Re: committing an aborted transaction

From: fschmidt <fschmidt(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: committing an aborted transaction
Date: 2008-11-15 22:20:34
Message-ID: 20520062.post@talk.nabble.com (view raw or flat)
Thread:
Lists: pgsql-jdbc

Tom Lane-2 wrote:
> 
> This is a server-side behavior, not JDBC's fault.  It's been like that
> for ten years and is unlikely to be changed.  See prior discussions,
> for instance here:
> 
> http://archives.postgresql.org/pgsql-bugs/2004-03/msg00179.php
> http://archives.postgresql.org/pgsql-hackers/2004-07/msg00416.php
> http://archives.postgresql.org/pgsql-hackers/2004-10/msg00908.php
> 

So it seems, based on this last link, that commit now returns a "ROLLBACK"
in this case.  So then why doesn't JDBC throw an exception when a commit
returns "ROLLBACK"?

-- 
View this message in context: http://www.nabble.com/committing-an-aborted-transaction-tp20519423p20520062.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


In response to

pgsql-jdbc by date

Next:From: Jay HowardDate: 2008-11-16 02:29:40
Subject: Re: passing user defined data types to stored procedures
Previous:From: Tom LaneDate: 2008-11-15 21:52:25
Subject: Re: committing an aborted transaction

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group