Re: jdbc xa support - Mailing list pgsql-jdbc

From Michael Allman
Subject Re: jdbc xa support
Date
Msg-id 20050721220519.U75792@yvyyl
Whole thread Raw
In response to Re: jdbc xa support  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: jdbc xa support
List pgsql-jdbc
On Fri, 22 Jul 2005, Oliver Jowett wrote:

> Michael Allman wrote:
>
>>> 4. recover is broken because it ignores the flags argument. That's
>>> going to cause an endless loop in the transaction manager when it
>>> tries to recover. See this discussion:
>>> http://forum.java.sun.com/thread.jspa?threadID=475468&messageID=2232566
>>
>>
>> That is problematic.  The API for recovery is stateful, and, IMHO,
>> poorly designed.  If you look at the original DTP XA spec you'll see it
>> makes much more sense.
>
> Huh? TMSTARTRSCAN etc are in the original DTP XA spec too, assuming you
> mean this one:
>
> X/Open CAE Specification
> Distributed Transaction Processing: The XA Specification
> ISBN: 1 872630 24 3
> X/Open Document Number: XO/CAE/91/300

Yes, and if you look at the specification for the xa_recover() function 47
you see it's a lot different from its Java counterpart.

Michael

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: jdbc xa support
Next
From: Oliver Jowett
Date:
Subject: Re: Timestamp Conversion Woes Redux