Re: committing an aborted transaction - Mailing list pgsql-jdbc

From fschmidt
Subject Re: committing an aborted transaction
Date
Msg-id 20520062.post@talk.nabble.com
Whole thread Raw
In response to Re: committing an aborted transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.


pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: committing an aborted transaction
Next
From: "Jay Howard"
Date:
Subject: Re: passing user defined data types to stored procedures