Skip site navigation (1) Skip section navigation (2)

Re: JDBC XA Support and Sample code?

From: "Jignesh K(dot) Shah" <J(dot)K(dot)Shah(at)Sun(dot)COM>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC XA Support and Sample code?
Date: 2007-12-05 22:18:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
So how come the API documentation for it is in privateapi and not 
publicapi.. That prompted me to infer that it is experimental. (I may 
not be alone in drawing that inference from it.)

Thanks for pointer to the testsuite I will take a look at it.


Kris Jurka wrote:
> On Wed, 5 Dec 2007, Jignesh K. Shah wrote:
>> I am new to the XA world of PostgreSQL. What's the story of XA in 
>> PostgreSQL JDBC Driver? Also are there examples on how to use the 
>> "Experimental" XA driver in postgresql-jdbc?
> PG's XA support is not expiremental, it's been part of the driver 
> since the 8.1 release.  How it's used depends a lot on who/what is 
> managing your transactions, so it's not real straightforward to put 
> together concrete examples and configurations.  The JDBC driver's 
> testsuite (org.postgresql.test.xa) manually issues xa transaction 
> commands, so it's the most clear use of XA, but not really 
> representative of actual usage.
> Kris Jurka

In response to


pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-12-05 22:20:10
Subject: Re: Hibernate/JTA/PostgreSQL
Previous:From: joël WintereggDate: 2007-12-05 22:14:52
Subject: Re: Hibernate/JTA/PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group