Re: XA support in JDBC driver - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: XA support in JDBC driver
Date
Msg-id Pine.BSO.4.56.0409290803160.14292@leary.csoft.net
Whole thread Raw
In response to XA support in JDBC driver  (roncordell@comcast.net)
List pgsql-jdbc

On Wed, 29 Sep 2004 roncordell@comcast.net wrote:

> Can anyone tell me what the status of full XA support in the JDBC driver
> is? I had read a discussion thread on The Server Side recently that
> indicated that XA was 'faked' in the pgsql jdbc driver. If anyone knows
> what this means and can share, I would greatly appreciate it.
>

The postgresql jdbc driver does not have XA support because the server
does not support distributed transactions.  In the past there was a "fake"
XA implementation, but it was removed over two years ago.  Basically when
calling javax.transaction.xa.XAresource#prepare() it couldn't actually do
a prepare so it only checked if there were any outstanding errors in that
transaction.

Kris Jurka


pgsql-jdbc by date:

Previous
From: roncordell@comcast.net
Date:
Subject: XA support in JDBC driver
Next
From: "William I. Zumwalt"
Date:
Subject: jdbc:postgresql:database not bound error