pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Jignesh K. Shah <J.K.Shah@Sun.COM>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC XA Support and Sample code?
Date: Wed, 5 Dec 2007 17:07:35 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0712051702370.10354@leary.csoft.net> (raw)
In-Reply-To: <47571061.9040506@sun.com>
References: <47571061.9040506@sun.com>



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



view thread (7+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0712051702370.10354@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0712051702370.10354@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0712051702370.10354@leary.csoft.net

 · 

reply

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: books@ejurka.com, J.K.Shah@Sun.COM
  Subject: Re: JDBC XA Support and Sample code?
  In-Reply-To: <Pine.BSO.4.64.0712051702370.10354@leary.csoft.net>
  References: <47571061.9040506@sun.com> <Pine.BSO.4.64.0712051702370.10354@leary.csoft.net>

* 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