From: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC4 for datasource code
Date: Fri, 3 Nov 2006 04:50:06 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net> (raw)
I have a patch for making the datasource code compile with JDK1.6.
http://ejurka.com/pgsql/patches/jdbc4.patch
It does things similar to the main driver splitting off different jdbcN
directories whose files extend from each other. The one complication is
that for the regular driver the user just asks for a connection and gets
it while for the datasource stuff they must specify which datasource they
want. The easiest compilation is have a Jdbc4PoolingDataSource and a
Jdbc23PoolingDataSource, but we just got rid of this idea a couple of
releases ago and I'd prefer not to return to it. What I've done with this
patch is have a dummy top level class whose sole job is to extend one of
the jdbcN specific classes via ant's filter facility. It's not the best,
but I think it's the way to go.
Any other ideas/problems?
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com
Subject: Re: JDBC4 for datasource code
In-Reply-To: <Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net>
References: <Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox