Re: bug with PGXADataSource in JNDI - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: bug with PGXADataSource in JNDI
Date
Msg-id 45E30891.1070102@enterprisedb.com
Whole thread Raw
In response to bug with PGXADataSource in JNDI  (Jonathan Halliday <jonathan.halliday@redhat.com>)
Responses Re: bug with PGXADataSource in JNDI  (Heikki Linnakangas <heikki@enterprisedb.com>)
List 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

pgsql-jdbc by date:

Previous
From: Gene
Date:
Subject: does prepareThreshold work? forced to use old driver
Next
From: Kris Jurka
Date:
Subject: Re: does prepareThreshold work? forced to use old driver