Received: from localhost (pluto.hub.org [200.46.204.4]) by postgresql.org (Postfix) with ESMTP id 114719FB1EA for ; Fri, 3 Nov 2006 05:50:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.4]) (amavisd-new, port 10024) with ESMTP id 71595-10 for ; Fri, 3 Nov 2006 05:50:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id 8A6939F9FE2 for ; Fri, 3 Nov 2006 05:50:07 -0400 (AST) Received: (qmail 17080 invoked by uid 1112); 3 Nov 2006 09:50:06 -0000 Date: Fri, 3 Nov 2006 04:50:06 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: pgsql-jdbc@postgresql.org Subject: JDBC4 for datasource code Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/21 X-Sequence-Number: 16063 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