Re: jdbc xa support - Mailing list pgsql-jdbc

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

> 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 just realized how ironic it is that in the one method on XAResource that
takes a flag argument that may take an |'d argument the argument name is
singular "flag".  In end() and start(), which may take only a single flag,
the argument name is a plural "flags".  Ha ha ha!!!

Michael

pgsql-jdbc by date:

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