pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Vadim Nasardinov <vadimn@redhat.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 1300 to 3100 lines of code for XA support
Date: Wed, 03 Nov 2004 09:18:44 +1300
Message-ID: <4187EBA4.9060507@opencloud.com> (raw)
In-Reply-To: <200411021447.54010@vadim.nasardinov>
References: <200410271617.28742@vadim.nasardinov>
	<4180062A.1000800@opencloud.com>
	<200411021447.54010@vadim.nasardinov>

Vadim Nasardinov wrote:

> On the other hand, Section 6.2 [2] seems to suggest that you must
> implement XA, if the backend supports 2PC.

> 2. Guidelines and Requirements, p. 38
> 
>    | * Drivers should provide access to every feature implemented by
>    |   the underlying data source, including features that extend the
>    |   JDBC API. When a feature is not supported, the corresponding
>    |   methods throw an SQLException. The intent is for applications
>    |   using the JDBC API to have access to the same feature set as
>    |   native applications.

I think this means that if a native app can issue "PREPARE TRANSACTION 
'abcd'", then you should be able to do that via JDBC too. That's true 
regardless of whether we implement the XA interface or not. But XA would 
still be nice to have.

-O



view thread (8+ messages)  latest in thread

Message-ID: <4187EBA4.9060507@opencloud.com>
Permalink:  ../4187EBA4.9060507@opencloud.com/
Also on:    postgresql.org/message-id/4187EBA4.9060507@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, vadimn@redhat.com
  Subject: Re: 1300 to 3100 lines of code for XA support
  In-Reply-To: <4187EBA4.9060507@opencloud.com>
  References: <200410271617.28742@vadim.nasardinov> <4180062A.1000800@opencloud.com> <200411021447.54010@vadim.nasardinov> <4187EBA4.9060507@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox