Skip site navigation (1) Skip section navigation (2)

Re: jdbc xa support

From: Michael Allman <msa(at)allman(dot)ms>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc xa support
Date: 2005-07-23 17:06:03
Message-ID: 20050723130340.F55069@yvyyl (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-jdbc by date

Next:From: Heikki LinnakangasDate: 2005-07-23 21:12:49
Subject: Re: jdbc xa support
Previous:From: Michael AllmanDate: 2005-07-23 16:46:04
Subject: Re: jdbc xa support

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group