JDBC4 for datasource code - Mailing list pgsql-jdbc

From Kris Jurka
Subject JDBC4 for datasource code
Date
Msg-id Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net
Whole thread Raw
List pgsql-jdbc
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


pgsql-jdbc by date:

Previous
From: "Stefano B."
Date:
Subject: Re: JTable and ResultSet TableModel with big resultset
Next
From: Luca Ferrari
Date:
Subject: jtree and sql queries