Re: Two-phase commit with JDBC

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема Re: Two-phase commit with JDBC
Дата
Msg-id 0A3221C70F24FB45833433255569204D1F57A678@G01JPEXMBYT05
обсуждение исходный текст
Ответ на Re: Two-phase commit with JDBC  (Florent Guillaume <fguillaume@nuxeo.com>)
Список pgsql-jdbc

From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Florent Guillaume
This is not PostgreSQL-specific.

 

You have to acquire a XADataSource then a XAConnection from it then its Connection.

 

Here's a unit test doing the two phases:

 

 

And the chapter “Distributed Transaction” in the JDBC specification will help you to understand the API usage and the above test cases.

 

Regards

Takayuki Tsunakawa

 

 

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

Предыдущее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: Two-phase commit with JDBC
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Roadmap: JDK 9 testing.