Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 5B9D29FB30F for ; Mon, 26 Feb 2007 12:20:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 92491-05 for ; Mon, 26 Feb 2007 12:19:52 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by postgresql.org (Postfix) with ESMTP id E29D29FB309 for ; Mon, 26 Feb 2007 12:19:51 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so713044ugf for ; Mon, 26 Feb 2007 08:19:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=MAN86cjnU+xlnbCJvMqrXciWASgZQ3/CW0tupZw2TpwNPChqmlUkL46PRpR9AGXpwKL8HuAvvO3NjrYxFePYVAx+hdi+58zqX0NtdIslnCi29XqAKjddQNhLxNFK6m0JqHITa/s0uCEr6DekjGTnS+1q9VwYWR33J3d7ruJWPSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=b84iwAmxLDO+oOMFrZc5J0tS/hRJU6b/tb+8l9zZekr52yM1/88Bnp3YqZPugr1akQuk2ljRnFiZlY/BSA1hbNVZqYuocFpKVhAsDRyqKE2UTD6FZCLxqe2RI+4hvxUnOMQ/d+kNFIbHyjJfO+i+en0HOCeFtKkJOuX/CzWCsv0= Received: by 10.66.243.4 with SMTP id q4mr6600288ugh.1172506790759; Mon, 26 Feb 2007 08:19:50 -0800 (PST) Received: from ?172.24.32.68? ( [62.232.55.118]) by mx.google.com with ESMTP id 54sm6115949ugp.2007.02.26.08.19.48; Mon, 26 Feb 2007 08:19:49 -0800 (PST) Message-ID: <45E30891.1070102@enterprisedb.com> Date: Mon, 26 Feb 2007 16:19:29 +0000 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.8 (X11/20061116) MIME-Version: 1.0 To: Jonathan Halliday CC: pgsql-jdbc@postgresql.org Subject: Re: bug with PGXADataSource in JNDI References: <45DF5511.1040601@redhat.com> In-Reply-To: <45DF5511.1040601@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/128 X-Sequence-Number: 16684 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