From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Kris Jurka <books@ejurka.com>
Cc: pg@fastcrypt.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: XADataSource interface
Date: Wed, 2 Nov 2005 19:21:52 +0200 (EET)
Message-ID: <Pine.OSF.4.61.0511021906050.341014@kosh.hut.fi> (raw)
In-Reply-To: <Pine.BSO.4.61.0510310051370.12070@leary.csoft.net>
References: <Pine.OSF.4.61.0510251957390.145307@kosh.hut.fi>
<Pine.BSO.4.61.0510291322220.5976@leary.csoft.net>
<Pine.OSF.4.61.0510302111470.179385@kosh.hut.fi>
<Pine.BSO.4.61.0510310051370.12070@leary.csoft.net>
On Mon, 31 Oct 2005, Kris Jurka wrote:
>
>
> On Sun, 30 Oct 2005, Heikki Linnakangas wrote:
>
>> The failures at testRecover and testRollback were because
>> PGXAConnection.rollback method called Xid.equals with null argument.
>> I added a null-check for that, see attached patch.
>
> Applied. I'll put out a new dev release with the xa patches later tonight.
> Can you clarify what does/doesn't work in xa for the docs?
Thanks!
English is not my native language, so please check spelling:
"
The JTA specification requires an XADataSource implementation to
support transaction interleaving (see JTA spec section 3.4.4). However,
since PostgreSQL server doesn't support it natively, the JDBC driver
cannot support it either. The same goes for suspend/resume.
In practice, transaction managers don't need transaction interleaving or
suspend/resume to function correctly. Some commercial databases
also don't implement them natively, but emulate them in the JDBC driver.
That's error prone; PostgreSQL driver will throw an XAException instead.
"
The docs should also include instructions for using the XADataSource.
Example configurations for various application servers would be a nice
too.
- Heikki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: hlinnaka@iki.fi, books@ejurka.com, pg@fastcrypt.com
Subject: Re: XADataSource interface
In-Reply-To: <Pine.OSF.4.61.0511021906050.341014@kosh.hut.fi>
References: <Pine.OSF.4.61.0510251957390.145307@kosh.hut.fi> <Pine.BSO.4.61.0510291322220.5976@leary.csoft.net> <Pine.OSF.4.61.0510302111470.179385@kosh.hut.fi> <Pine.BSO.4.61.0510310051370.12070@leary.csoft.net> <Pine.OSF.4.61.0511021906050.341014@kosh.hut.fi>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox