Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id ED3A09FBA9A for ; Fri, 20 Apr 2007 17:26:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 99934-02 for ; Fri, 20 Apr 2007 17:26:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 5636D9FB58A for ; Fri, 20 Apr 2007 17:26:47 -0300 (ADT) Received: (qmail 25901 invoked by uid 1112); 20 Apr 2007 20:26:43 -0000 Date: Fri, 20 Apr 2007 16:26:43 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Bill Middleton cc: pgsql-jdbc@postgresql.org Subject: Re: PGXADataSource does not implement DataSource In-Reply-To: <4efe54510704201300i4636c611r88dbb48c96be7270@mail.gmail.com> Message-ID: References: <4efe54510704201300i4636c611r88dbb48c96be7270@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/80 X-Sequence-Number: 16929 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