From: Kris Jurka <books@ejurka.com>
To: Bill Middleton <utvikler@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PGXADataSource does not implement DataSource
Date: Fri, 20 Apr 2007 16:26:43 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0704201624180.10746@leary.csoft.net> (raw)
In-Reply-To: <4efe54510704201300i4636c611r88dbb48c96be7270@mail.gmail.com>
References: <4efe54510704201300i4636c611r88dbb48c96be7270@mail.gmail.com>
On Fri, 20 Apr 2007, Bill Middleton wrote:
> Hello and thanks for for the efforts. I've noticed that your XA
> implementation does not formally implement javax.sql.DataSource. I felt
> pretty sure that this was a simple oversight, given that BaseDataSource
> provides complete compatibility with the DataSource interface. I patched
> thusly:
>
The javadoc doesn't have XADataSource extending Datasource so we didn't
either.
> and now Hibernate happily accepts the postgresql XA using JTA.
>
Are you sure this works completely? How is Hiberate able to access any
XA things if it's only using a regular Datasource/Connection?
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, utvikler@gmail.com
Subject: Re: PGXADataSource does not implement DataSource
In-Reply-To: <Pine.BSO.4.64.0704201624180.10746@leary.csoft.net>
References: <4efe54510704201300i4636c611r88dbb48c96be7270@mail.gmail.com> <Pine.BSO.4.64.0704201624180.10746@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox