Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group