Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B81C82E0086 for ; Wed, 5 Dec 2007 18:14:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 86022-05-4 for ; Wed, 5 Dec 2007 18:14:10 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id A2F502E0079 for ; Wed, 5 Dec 2007 18:14:18 -0400 (AST) Received: (qmail 24114 invoked by uid 1112); 5 Dec 2007 22:07:35 -0000 Date: Wed, 5 Dec 2007 17:07:35 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Jignesh K. Shah" cc: pgsql-jdbc@postgresql.org Subject: Re: JDBC XA Support and Sample code? In-Reply-To: <47571061.9040506@sun.com> Message-ID: References: <47571061.9040506@sun.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/29 X-Sequence-Number: 17884 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