fschmidt <fschmidt(at)gmail(dot)com> writes:
> Committing an aborted transaction should throw an exception.
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
regards, tom lane