Re: jdbc xa support - Mailing list pgsql-jdbc

From Michael Allman
Subject Re: jdbc xa support
Date
Msg-id 20050723122430.R55069@yvyyl
Whole thread Raw
In response to Re: jdbc xa support  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
>> I added the lines
>>
>>     if (flag != TMSTARTRSCAN) {
>>         return new Xid[0];
>>     }
>>
>> to the top of the recover() method and posted a new version at
>>
>> http://www.allman.ms/pgjdbcxa/pgjdbcxa-20050722.jar
>
> Not quite -- it's a flag not an enumerated value -- the TM can specify
> TMENDRSCAN|TMSTARTRSCAN to restart a scan currently in progress.
>
> 'if ((flag & TMSTARTRSCAN) == 0)' should work.
>

I'll make a correction in the next patch.  Thanks.

Michael

pgsql-jdbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: jdbc xa support
Next
From: Michael Allman
Date:
Subject: Re: jdbc xa support