X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E1A23D1B18C for ; Fri, 16 Jul 2004 05:59:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25003-08 for ; Fri, 16 Jul 2004 08:59:22 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id B19F6D1B17B for ; Fri, 16 Jul 2004 05:59:18 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BlOYp-00027q-00; Fri, 16 Jul 2004 20:59:19 +1200 Message-ID: <40F798E4.6050703@opencloud.com> Date: Fri, 16 Jul 2004 20:59:16 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: Adding JDK1.5 removing 1.1 support. References: <40F748AB.2060301@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/205 X-Sequence-Number: 10589 Kris Jurka wrote: > I've done this for the core driver, but I'm kind of stuck on how to get > this to work for the various DataSource implementations. These don't > have the same multi-version architecture and users are required to > know what JDK they are dealing with in their configuration. I have to admit I haven't looked too hard at this area, but I don't understand why we need versioned implementations of DataSource at all. Don't they all end up delegating to the Driver to create the connection anyway? I couldn't see anything in the JDBC3 implementations that seems JDBC3-specific.. We currently use the jdbc2.optional datasource implementations under a 1.4 JDK, for historical reasons more than anything. But it appears to work fine. -O