pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <jurka@ejurka.com>
To: Ludovic Orban <lorban@bitronix.be>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Postgres XA support
Date: Sat, 07 Oct 2006 23:40:12 -0600
Message-ID: <45288F3C.1030906@ejurka.com> (raw)
In-Reply-To: <c016d00b0610071603q63c01a99q8bd165f3cb6a2f04@mail.gmail.com>
References: <c016d00b0610071603q63c01a99q8bd165f3cb6a2f04@mail.gmail.com>

Ludovic Orban wrote:

> I rencently found this thread on PotgreSQL's forum:
> http://archives.postgresql.org/pgsql-jdbc/2006-04/msg00150.php
> and I just wanted to let you know that calling Connection.close()
> before or after the commit is the transaction manager's job or more
> precisely the XA connection pool's job.

So you're suggesting that the code example here is incorrect and it must 
call commit before close?  It really seems like a transaction ought to 
correcty wrap the connection open/close which is the fix that I put in.

http://archives.postgresql.org/pgsql-jdbc/2006-04/msg00149.php

> I'd like to know a bit more about Postgres' XA support before testing
> it (to add it to my support list:
> http://www.bitronix.be/Btm/DatabasesXASupportEvaluation#postgres) and
> I'd be happy if you could brielfy tell me how you think it's working.

Honestly, I have no idea.  As a maintainer I occasionally have to 
write/review code that I don't know much about and XA is one of those. 
Asking on the jdbc list (cced) is the best place to get information as 
the authors and users of the XA code can attest to its support much 
better than I can.  I hear it works with Orion and with a small patch 
Weblogic.  My limited testing showed it worked with Simple-JTA.

Kris Jurka



view thread (24+ messages)  latest in thread

Message-ID: <45288F3C.1030906@ejurka.com>
Permalink:  ../45288F3C.1030906@ejurka.com/
Also on:    postgresql.org/message-id/45288F3C.1030906@ejurka.com

 · 

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: jurka@ejurka.com, lorban@bitronix.be
  Subject: Re: Postgres XA support
  In-Reply-To: <45288F3C.1030906@ejurka.com>
  References: <c016d00b0610071603q63c01a99q8bd165f3cb6a2f04@mail.gmail.com> <45288F3C.1030906@ejurka.com>

* 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