This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_2_511 in repository libpostgresql-jdbc-java.
commit 77b27f96696c3bd112cc88a775d6c6c0ff20dbd9 Author: Kris Jurka <[email protected]> Date: Wed Dec 23 20:57:23 2009 +0000 Always specify an XA error code when creating an XAException. Otherwise a transaction manager won't know what to do with the error and may have to asssume the worst. Patch by Heikki Linnakangas, analysis by Justin Bertram. --- org/postgresql/xa/PGXAConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/postgresql/xa/PGXAConnection.java b/org/postgresql/xa/PGXAConnection.java index 3b33975..cba69cc 100644 --- a/org/postgresql/xa/PGXAConnection.java +++ b/org/postgresql/xa/PGXAConnection.java @@ -442,7 +442,7 @@ public class PGXAConnection extends PGPooledConnection implements XAConnection, } catch (SQLException ex) { - throw new XAException(ex.toString()); + throw new PGXAException(GT.tr("Error committing prepared transaction"), ex, XAException.XAER_RMERR); } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

