Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 92391 invoked from network); 24 May 2005 23:11:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2005 23:11:03 -0000 Received: (qmail 99713 invoked by uid 500); 24 May 2005 23:11:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 99662 invoked by uid 500); 24 May 2005 23:11:01 -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 99646 invoked by uid 99); 24 May 2005 23:11:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from brmea-mail-3.Sun.COM (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 24 May 2005 16:11:00 -0700 Received: from phys-mpk-1 ([129.146.11.81]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id j4ON91k0017653 for ; Tue, 24 May 2005 17:10:58 -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 <0IH000A01O17Q8@mpk-mail1.sfbay.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-dev@db.apache.org; Tue, 24 May 2005 16:09:49 -0700 (PDT) Received: from Sun.COM (sr1-umpk-20.SFBay.Sun.COM [129.146.11.208]) by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IH0005ZHOC8G4@mpk-mail1.sfbay.sun.com> for derby-dev@db.apache.org; Tue, 24 May 2005 16:09:44 -0700 (PDT) Date: Tue, 24 May 2005 16:09:44 -0700 From: David Van Couvering Subject: Re: [jira] Commented: (DERBY-243) connection toString should uniquely identify the connection In-reply-to: <1955690727.1116958196863.JavaMail.jira@ajax.apache.org> To: Derby Development Reply-to: David.Vancouvering@Sun.COM Message-id: <4293B438.4010906@Sun.COM> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20041214 References: <1955690727.1116958196863.JavaMail.jira@ajax.apache.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does anyone else have any comments on this? Kathey, are you OK with this change? If so, you could hold off on the patch I submitted and wait for a new one with these changes... Thanks, David Daniel John Debrunner (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-243?page=comments#action_66186 ] > >Daniel John Debrunner commented on DERBY-243: >--------------------------------------------- > >David wrote > > >>For this reason, it makes much more sense to use the LanguageConnectionContext as the owner of a unique identification for the session. >> >> > >I agree, the LCC is the "physical connection", thus having it define the unique identification matches the definition. > > > >>connection toString should uniquely identify the connection >>----------------------------------------------------------- >> >> Key: DERBY-243 >> URL: http://issues.apache.org/jira/browse/DERBY-243 >> Project: Derby >> Type: Improvement >> Components: JDBC >> Reporter: Kathey Marsden >> Assignee: David Van Couvering >> Priority: Trivial >> Fix For: 10.0.2.1, 10.0.2.0, 10.0.2.2, 10.1.0.0 >> Attachments: DERBY-243.diff >> >>The toString() on the Derby connection doesn't print >>unique information. >>for example System.out.println(conn) prints: >>EmbedConnection in the case of derby embedded >>It would be great if the toString() method for connections could be used to differentiate one connection from another. >> >> > > >