Re: bug with PGXADataSource in JNDI

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Jonathan Halliday <jonathan(dot)halliday(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: bug with PGXADataSource in JNDI
Date: 2007-02-26 16:19:29
Message-ID: 45E30891.1070102@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Jonathan Halliday wrote:
>
> Hello JDBC driver developers
>
> I have a requirement to store and retrieve PGXADataSource instances from
> JNDI, specifically using Sun's fscontext provider.
>
> I can get instances into JNDI no problem and they are written out to the
> .bindings file.
>
> I can't retrieve them because PGObjectFactory.getObjectInstance does not
> know about ClassName=org.postgresql.xa.PGXADataSource
>
> Please would one of the developers address this for the next 8.1 driver
> release.

I can write the patch to fix that. Do you happen to have a simple test
case I can use to test it?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-02-26 16:45:24 Re: does prepareThreshold work? forced to use old driver
Previous Message Gene 2007-02-26 16:12:53 does prepareThreshold work? forced to use old driver