Re: Unable to commit: transaction marked for rollback - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Unable to commit: transaction marked for rollback
Date
Msg-id 4C2D7C97.8010908@opencloud.com
Whole thread Raw
In response to Unable to commit: transaction marked for rollback  (David Kerr <dmk@mr-paradox.net>)
List pgsql-jdbc
David Kerr wrote:
> Hello!
>
> I'm intermittantly getting this error message in a java app.
> using Geronimo / Hibernate / Postgres 8.3.9
>
> javax.transaction.RollbackException: Unable to commit: transaction marked for
> rollback

This looks like a JTA exception not a JDBC exception.

i.e. something has marked the TM-managed transaction for rollback via
Transaction.setRollbackOnly()

This can happen for all sorts of reasons, from an explicit request from
your application, through to container handling of an unexpected
exception from an EJB, etc.

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: a problem with getting correct info about table's privileges
Next
From: Thomas Kellerer
Date:
Subject: Re: 9.0 and pg_stat_activity.application_name