Re: XA Support for Postgres - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: XA Support for Postgres
Date
Msg-id 478255C5.2050203@enterprisedb.com
Whole thread Raw
In response to Re: XA Support for Postgres  (Håkan Jacobsson <hakan.jacobsson@relevanttraffic.com>)
Responses Re: XA Support for Postgres
List pgsql-jdbc
Håkan Jacobsson wrote:
> So, if I want XA-support I need postgresql 8.1 at least on the databases I need to use?

Yep.

> I'm using a postgres-ds.xml with XA-support (JBoss config file) which I think you suggested to use (I found it on
somejira-related site). Is that all I need to have XA-support/two-phase-commit-support? I mean there is nothing to
modifyin my code or elsewhere? 

The short answer is yes, that's all you need to do.

Note that as an important optimization, the app server won't actually do
two-phase commit unless you really use two different databases in a
transaction.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: Daniel Migowski
Date:
Subject: Re: TypeInfoCache
Next
From: Daniel Migowski
Date:
Subject: Re: TypeInfoCache