Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 41260 invoked from network); 22 Aug 2005 22:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2005 22:58:49 -0000 Received: (qmail 42677 invoked by uid 500); 22 Aug 2005 22:58:46 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 42173 invoked by uid 500); 22 Aug 2005 22:58:41 -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 40658 invoked by uid 99); 22 Aug 2005 22:58:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 15:58:31 -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; Mon, 22 Aug 2005 15:58:48 -0700 Received: from phys-mpk-1 ([129.146.11.81]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j7MMwSTW022849 for ; Mon, 22 Aug 2005 16:58:28 -0600 (MDT) Received: from conversion-daemon.mpk-mail1.sfbay.sun.com by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0ILN00301BSNZG@mpk-mail1.sfbay.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-user@db.apache.org; Mon, 22 Aug 2005 15:58:28 -0700 (PDT) Received: from [129.150.26.33] (vpn-129-150-26-33.SFBay.Sun.COM [129.150.26.33]) by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0ILN00CNFBTFR1@mpk-mail1.sfbay.sun.com> for derby-user@db.apache.org; Mon, 22 Aug 2005 15:58:28 -0700 (PDT) Date: Mon, 22 Aug 2005 15:58:26 -0700 From: David Van Couvering Subject: Re: Derby ClientDriver versus EmbeddedDriver 10.1.1.0 and a question about the Eclipse plugin In-reply-to: <001001c5a750$cf7523b0$38577553@DB35TT0J> To: Derby Discussion Message-id: <430A5892.2010802@sun.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_UE02gL4lA46DXSA1sNb7lA)" X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) References: <001b01c5a665$9d29b0b0$38577553@DB35TT0J> <4309FFC0.9070109@sun.com> <001001c5a750$cf7523b0$38577553@DB35TT0J> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_UE02gL4lA46DXSA1sNb7lA) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Hi, Piet. It's really quite easy to work with JIRA, just go to http://issues.apache.org/jira/browse/DERBY And click on "Create a new issue in project Derby". The fields should be pretty self-explanatory or have good defaults. Thanks, David Piet Blok wrote: > David, > > Thanks for your reply, > > From an earlier reply with links to already filed issues (Bernt M > Johnson) I found that my observation number two (different SQLStates) > has been noticed already. The other two I am not sure if they are > documented yet. The first one (Properties not being used by connect() > method) is in my opinion certainly a bug,. The third one I am not sure > of: it is certainly a strange sequence of actions (however, derby > embedded does not mind). > > I am certainly willing to create a Jira issue, but first I have to > find out exactly how to do this (sorry, I am not an experienced Open > Source Contributor, so certainly not this evening). If someone else, > more experienced than I, would do it, I appreciate it greatly. If > anyone wants me to send the java code that demontrates the behaviour, > no problem at all, I will send it right away. > > The question about the derby plugins has, to my great relief, been > answered quite satisfactory by Susan Cline. Thanks. > > Piet Blok > > ----- Original Message ----- From: "David Van Couvering" > > To: "Derby Discussion" > Sent: Monday, August 22, 2005 6:39 PM > Subject: Re: Derby ClientDriver versus EmbeddedDriver 10.1.1.0 and a > question about the Eclipse plugin > > >> Hi, Piet. We are working on recording and slowly resolving the >> differences between the two drivers. It would be *very* useful for you >> to log these issues in JIRA. Are you amenable to that? >> >> Thanks, >> >> David >> >> Piet Blok wrote: >> >>> Hi, >>> >>> 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. >>> >>> Differences I noticed are: >>> >>> 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? >>> >>> 2) When an attempt is made to connect to a non-existing database (no >>> attribute create=true) EmbeddedDerby throws an SQLException with >>> SQLState "XJ004", ClientDriver "08004" (connection refused with >>> additional text database does not exist). A bug? >>> >>> 3) ResultSet behaviour: When I execute, in this order, >>> ResultSet.getMetaData(), then execute ResultSet. next() until it >>> returns false, and then again execute ResultSet.getMetaData(), >>> EmbeddedDriver does as requested, however, ClientDriver throws an >>> SQLException at the last getMetaData() saying that the ResultSet has >>> been closed. A bug or should this be expected? >>> >>> (The reason for this strange sequence is the following: I wanted >>> to create a JTable as follows: new JTable(createColumnData(resultset), >>> createHeaderData(resultset)). Apparently this was processed by java >>> from left to right. For EmbeddedDriver no problem.) >>> >>> I prepared a small (175 lines) piece of java code that >>> demonstrates all three differences. If you wish I can send it. >>> >>> (I use the official release of derby: 10.1.1.0, JRE 1.5.0_04, and use >>> Eclipse 3.1 to compile my classes. I have all the derby jar files in >>> the EXT directory of the JRE) >>> >>> A question about the Eclipse plugins: I read the warning that these >>> plugins can only be used in Eclipse 3.1 up to Milestone 6. Is there >>> any chance that in the near future an official release of these >>> plugins will be available for the official Eclipse 3.1 release? Yes, I >>> also read the prescriptions on how to alter the plugins so they can be >>> used with the official release but, having no experience at all with >>> SubVersion, Ant, Plugin development and whatever needed to perform >>> this alteration other than things working out opposite as expected, I >>> decided to live without the plugin and wait. >>> >>> Piet Blok >> >> >> > > --Boundary_(ID_UE02gL4lA46DXSA1sNb7lA) Content-type: text/x-vcard; charset=utf-8; name=david.vancouvering.vcf Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=david.vancouvering.vcf begin:vcard fn:David Van Couvering n:Van Couvering;David org:Sun Microsystems, Inc.;Database Technology Group email;internet:david.vancouvering@sun.com title:Senior Staff Software Engineer tel;work:510-550-6819 tel;cell:510-684-7281 x-mozilla-html:TRUE version:2.1 end:vcard --Boundary_(ID_UE02gL4lA46DXSA1sNb7lA)--