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