Re: 1300 to 3100 lines of code for XA support

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Vadim Nasardinov <vadimn(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 1300 to 3100 lines of code for XA support
Date: 2004-11-02 20:18:44
Message-ID: 4187EBA4.9060507@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-11-02 20:29:01 Re: executeBatch() issue with new driver?
Previous Message Kris Jurka 2004-11-02 20:09:38 Re: 1300 to 3100 lines of code for XA support (was: Re: plans