Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68781 invoked from network); 15 Jul 2005 21:00:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2005 21:00:42 -0000 Received: (qmail 51673 invoked by uid 500); 15 Jul 2005 21:00:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51570 invoked by uid 500); 15 Jul 2005 21:00:39 -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 51544 invoked by uid 99); 15 Jul 2005 21:00:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2005 14:00:27 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EB780CA for ; Fri, 15 Jul 2005 23:00:24 +0200 (CEST) Message-ID: <1702175292.1121461224963.JavaMail.jira@ajax.apache.org> Date: Fri, 15 Jul 2005 23:00:24 +0200 (CEST) From: "David Van Couvering (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-412) Connection toString should show type information and the meaning of the identifier that it prints In-Reply-To: <475708805.1120082337381.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/DERBY-412?page=all ] David Van Couvering updated DERBY-412: -------------------------------------- Attachment: DERBY-412.diff Attached is the patch to resolve this bug. I adjusted the order of the fields to match the output of the error log, otherwise it is as proposed for the vote. derbyall passes with no failures svn status output: M java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java M java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java > Connection toString should show type information and the meaning of the identifier that it prints > -------------------------------------------------------------------------------------------------- > > Key: DERBY-412 > URL: http://issues.apache.org/jira/browse/DERBY-412 > Project: Derby > Type: Bug > Versions: 10.1.1.0, 10.2.0.0 > Reporter: Kathey Marsden > Assignee: David Van Couvering > Fix For: 10.2.0.0 > Attachments: DERBY-412.diff > > After the change for DERBY-243 the connection toString() output is an integer which correspond to SESSIONID. The output should identify the type and also the meaning of the identifier that it prints. Perhaps a format that appends the default toString output with the sessionid information as it prints in the derby.log would be more informative. > org.apache.derby.impl.jdbc.EmbedConnection@efd552 (SESSONID = 2) > Ultimately this could be expanded to included other diagnostic information e.g > org.apache.derby.impl.jdbc.EmbedConnection@efd552 (XID = 132), (SESSIONID = 5), (DATABASE = wombat), (DRDAID = NF000001.H324-940125304405039114{7}) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira