Re: 1300 to 3100 lines of code for XA support

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: 1300 to 3100 lines of code for XA support
Дата
Msg-id 4187EBA4.9060507@opencloud.com
обсуждение исходный текст
Ответ на 1300 to 3100 lines of code for XA support (was: Re: plans and estimates for supporting JDBC 3.0)  (Vadim Nasardinov <vadimn@redhat.com>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: 1300 to 3100 lines of code for XA support (was: Re: plans
Следующее
От: Alan Stange
Дата:
Сообщение: Re: executeBatch() issue with new driver?