JDBC4 for datasource code

From: Kris Jurka <books(at)ejurka(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: JDBC4 for datasource code
Date: 2006-11-03 09:50:06
Message-ID: Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Luca Ferrari 2006-11-03 17:19:04 jtree and sql queries
Previous Message Stefano B. 2006-11-03 07:52:22 Re: JTable and ResultSet TableModel with big resultset