Re: Data Source

Поиск
Список
Период
Сортировка
От Aaron Mulder
Тема Re: Data Source
Дата
Msg-id Pine.LNX.4.44.0303061049160.28475-100000@www.princetongames.org
обсуждение исходный текст
Ответ на Re: Data Source  (Dave Cramer <Dave@micro-automation.net>)
Список pgsql-jdbc
On 6 Mar 2003, Dave Cramer wrote:
> Chris,
>
> The XADataSource is not supported by the driver because postgres doesn't
> support two phase commits.

    That said, it's not unusual to see a "fake" XADataSource
impleemntation that wraps a non-XA DataSource and works fine as long as

1) It's the only non-real XADataSource AND it's invoked last in the
prepare phase of the transaction

   - or -

2) No resource ever fails to prepare

    That's pretty chancy, but it beats nothing at all.  You can
implement one of these yourself with some research into the JDBC2 optional
package, or take it from one of the open-source app servers or something.

Aaron


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

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: Re: Closing one connection closes all connections?
Следующее
От: Aaron Mulder
Дата:
Сообщение: Re: Postgres PooledConnection...