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 B9BA9D1B220 for ; Thu, 15 Jul 2004 09:51:22 -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 46861-10 for ; Thu, 15 Jul 2004 12:51:30 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 4EA76D1B195 for ; Thu, 15 Jul 2004 09:51:20 -0300 (ADT) Received: (qmail 30884 invoked by uid 1112); 15 Jul 2004 12:51:27 -0000 Date: Thu, 15 Jul 2004 07:51:27 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: pgsql-jdbc@postgresql.org Subject: Adding JDK1.5 removing 1.1 support. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/184 X-Sequence-Number: 10568 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? 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. This means something like AbstractJdbc2Connection.setTypeMap(Map) would be renamed to something like setTypeMapImpl(Map) and setTypeMap(Map) would be added to Jdbc2Connection and Jdbc3Connection while Jdbc3gConnection would have setTypeMap(Map>) that would all just call setTypeMapImpl. Does this make sense to people? Kris Jurka