Re: XA transactions and autocommit

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: XA transactions and autocommit
Дата
Msg-id Pine.BSO.4.64.0612010514001.31193@leary2.csoft.net
обсуждение исходный текст
Ответ на XA transactions and autocommit  (Allan Saddi <allan@saddi.com>)
Список pgsql-jdbc

On Sat, 7 Oct 2006, Allan Saddi wrote:

> I've been playing around with JTA using Apache Geronimo and the
> postgresql-8.1-407.jdbc3.jar driver. I've noticed a minor problem. The
> driver's XA code disables autocommit and assumes it will remain so
> indefinitely. tranql-connection (used by Geronimo for pooling) enables
> autocommit whenever the connection is returned to the pool. (Specifically in
> its ManagedXAConnection.cleanup method.) According to the J2EE Connector
> spec, this is apparently the correct thing to do.
>
> I've made a minor patch against 407 that does just this. XAResource.start
> disables autocommit, and autocommit is then re-enabled at the appropriate
> place within the prepare, commit, and rollback methods.
>

Patch applied, thanks.

Kris Jurka

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

Предыдущее
От: "antongiulio05@gmail.com"
Дата:
Сообщение: Re: Authentication trick
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: Authentication trick