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 D951CD1B23E for ; Fri, 16 Jul 2004 00:17:10 -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 06177-08 for ; Fri, 16 Jul 2004 03:17:08 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A5E23D1B229 for ; Fri, 16 Jul 2004 00:17:04 -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 1BlJDa-0001Kk-00; Fri, 16 Jul 2004 15:17:02 +1200 Message-ID: <40F748AB.2060301@opencloud.com> Date: Fri, 16 Jul 2004 15:16:59 +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: 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/199 X-Sequence-Number: 10583 Kris Jurka wrote: > The new V3 protocol code has removed support for compiling with a 1.1 JDK, > but we still have the core implementation split between jdbc1 and jdbc2 > classes. Should be combine these all into jdbc2 or is there a reason to > keep these separate? That sounds reasonable unless there's some reason you'd want to run JDK1.2 + JDBC1 (I can't think of one). > To add JDK1.5 support I originally considered an ant conditional > compilation method, but that was really ugly. Another idea I have is to > create a jdbc3g subdirectory (JDBC3 w/ Generics) that wouldn't house any > implementation (AbstractJdbc3g* classes), but would just have the classes > to offer the API desired by the 1.5 JDK. That works. -O