Re: PGXADataSource does not implement DataSource

From: Kris Jurka <books(at)ejurka(dot)com>
To: Bill Middleton <utvikler(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PGXADataSource does not implement DataSource
Date: 2007-04-20 20:26:43
Message-ID: Pine.BSO.4.64.0704201624180.10746@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Heikki Linnakangas 2007-04-20 20:32:11 Re: PGXADataSource does not implement DataSource
Previous Message Bill Middleton 2007-04-20 20:00:47 PGXADataSource does not implement DataSource