Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 72794 invoked from network); 23 Aug 2005 12:00:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 12:00:20 -0000 Received: (qmail 1851 invoked by uid 500); 23 Aug 2005 12:00:19 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 1822 invoked by uid 500); 23 Aug 2005 12:00:19 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 1807 invoked by uid 99); 23 Aug 2005 12:00:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 05:00:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.36] (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 05:00:36 -0700 Received: from phys-epost-1 ([129.159.136.14]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j7NC0ETY001288 for ; Tue, 23 Aug 2005 06:00:16 -0600 (MDT) Received: from conversion-daemon.epost-mail1.sweden.sun.com by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0ILO00M01BJ1UD@epost-mail1.sweden.sun.com> (original mail from Oystein.Grovlen@Sun.COM) for derby-user@db.apache.org; Tue, 23 Aug 2005 14:00:16 +0200 (MEST) Received: from atum11.norway.sun.com.sun.com (atum11.Norway.Sun.COM [129.159.112.211]) by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0ILO0065IC0FSA@epost-mail1.sweden.sun.com> for derby-user@db.apache.org; Tue, 23 Aug 2005 14:00:16 +0200 (MEST) Date: Tue, 23 Aug 2005 14:00:15 +0200 From: Oystein.Grovlen@Sun.COM (=?iso-8859-1?q?=D8ystein_Gr=F8vlen?=) Subject: Re: Derby ClientDriver versus EmbeddedDriver 10.1.1.0 and a question about the Eclipse plugin In-reply-to: <001b01c5a665$9d29b0b0$38577553@DB35TT0J> To: Derby Discussion Message-id: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Lines: 18 References: <001b01c5a665$9d29b0b0$38577553@DB35TT0J> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >>>>> "PB" == Piet Blok writes: PB> Hi, PB> I noticed some different behaviour between Derby EmbeddedDriver and ClientDriver. This was a disappointment, because I wanted to develop a Derby application that may switch between the two drivers. PB> Differences I noticed are: PB> 1) EmbeddedDriver accepts and uses a Properties object as the second parameter on the connect method. ClientDriver accepts, but does NOT USE the Properties object. A bug? I guess the problem here is that many of the properties has to be set when the Derby is started. In the embedded framework this is done on the first connect. In the client/server framework, I guess Derby is started before the first connect. Hence, it will be too late to set the properties. In my opinion, the ClientDriver should throw an exception if it is not able to set a property. -- �ystein