Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 15010 invoked from network); 23 May 2005 17:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 17:32:07 -0000 Received: (qmail 3331 invoked by uid 500); 23 May 2005 16:31:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 3296 invoked by uid 500); 23 May 2005 16:31:59 -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 3263 invoked by uid 99); 23 May 2005 16:31:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2005 09:31:57 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 966262F4 for ; Mon, 23 May 2005 18:31:53 +0200 (CEST) Message-ID: <908712944.1116865913614.JavaMail.jira@ajax.apache.org> Date: Mon, 23 May 2005 18:31:53 +0200 (CEST) From: "David Van Couvering (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-243) connection toString should uniquely identify the connection In-Reply-To: <344643696.1114661790854.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-243?page=all ] David Van Couvering updated DERBY-243: -------------------------------------- Attachment: DERBY-243.diff I have attached the latest patch in response to Kathey's comments. I added comments to the Javadoc for the connection string semantics, and I removed the toString() code for the client side. derbyall passes with the exception of parameterMapping and backupRestore, which others have noted are currently failing. Output of svn status: M java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java M java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java M java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java M java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/dataSourcePermissions.java M java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java M java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net_sed.properties M java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/dataSourcePermissions_net.out M java/testing/org/apache/derbyTesting/functionTests/master/dataSourcePermissions.out M java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/dataSourcePermissions_net.out M java/testing/org/apache/derbyTesting/functionTests/master/checkDataSource.out M java/testing/org/apache/derbyTesting/functionTests/master/checkDataSource30.out M java/testing/org/apache/derbyTesting/functionTests/util/TestUtil.java > 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.0, 10.0.2.1, 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. -- 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