Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 6176 invoked from network); 10 Oct 2005 18:41:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 18:41:03 -0000 Received: (qmail 93319 invoked by uid 500); 10 Oct 2005 18:41:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93279 invoked by uid 500); 10 Oct 2005 18:41:02 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 93267 invoked by uid 99); 10 Oct 2005 18:41:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 11:41:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.154] (HELO e36.co.us.ibm.com) (32.97.110.154) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 11:41:04 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e36.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id j9AId87q020495 for ; Mon, 10 Oct 2005 14:39:08 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j9AIed9U534708 for ; Mon, 10 Oct 2005 12:40:39 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j9AIedOp003299 for ; Mon, 10 Oct 2005 12:40:39 -0600 Received: from [127.0.0.1] (dyn9030145156.svl.ibm.com [9.30.145.156]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j9AIecqr003242 for ; Mon, 10 Oct 2005 12:40:39 -0600 Message-ID: <434AB5A5.3020504@debrunners.com> Date: Mon, 10 Oct 2005 11:40:37 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: conflict between Derby API and JDBC 4.0 References: <434AB0DB.5000503@sun.com> In-Reply-To: <434AB0DB.5000503@sun.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rick Hillegas wrote: > I would like advice on how to handle the conflict between the public > Derby API and JDBC 4.0. This issue was raised by Dan in his comments on > bug 587. > > A) Does this issue block the submission of the 587 fix? I don't think so. But I think we would want to resolve the issue before release a Derby version that contained this code. Though potentially resolution could wait until JDBC 4.0 was official. > > B) How do we want to handle this conflict in 10.2? > > The problem is that some javax.sql interfaces are incompatible between > jdk1.4 and jdk1.6. A class implementing one of these interfaces can't > run on both the 1.4 and 1.6 vms. This is a showstopper for Derby because > i) our public API contains classes which implement these incompatible > interfaces and ii) we ship a single jar which we expect will run on all > supported vms. The comments on bug 587 suggest some solutions: > > 1) Some, as yet not understood, classloader trick. > > 2) Abandon requirement (ii) and release separate Derby deployments for > 1.4 and 1.6. I would say 2) is out, it seems overkill for a single class to drive a switch to multiple/different versions for different environments. > 3) Change our public API. > > I would appreciate some discussion of this serious problem. Beyond that, I will think more :-) Dan.