From: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc@postgresql.org
Subject: Adding JDK1.5 removing 1.1 support.
Date: Thu, 15 Jul 2004 07:51:27 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0407150739290.22178@leary.csoft.net> (raw)
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<String, Class<?>>) that would all just call setTypeMapImpl.
Does this make sense to people?
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com
Subject: Re: Adding JDK1.5 removing 1.1 support.
In-Reply-To: <Pine.BSO.4.56.0407150739290.22178@leary.csoft.net>
References: <Pine.BSO.4.56.0407150739290.22178@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox