Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 67271 invoked from network); 2 Sep 2009 13:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 13:40:56 -0000 Received: (qmail 64030 invoked by uid 500); 2 Sep 2009 13:40:56 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64006 invoked by uid 500); 2 Sep 2009 13:40:56 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 63998 invoked by uid 99); 2 Sep 2009 13:40:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 13:40:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 13:40:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C111D234C004 for ; Wed, 2 Sep 2009 06:40:32 -0700 (PDT) Message-ID: <1667808241.1251898832776.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 06:40:32 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4070) Embedded and client data sources throw different exception when a connection attribute is badly formatted In-Reply-To: <1830975131.1235557021854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750436#action_12750436 ] Kristian Waagan commented on DERBY-4070: ---------------------------------------- This patch can be backported to 10.5 (all tests passed), and I'll check 10.4 too. Are there any objections? I guess a release note should be written as well. > Embedded and client data sources throw different exception when a connection attribute is badly formatted > --------------------------------------------------------------------------------------------------------- > > Key: DERBY-4070 > URL: https://issues.apache.org/jira/browse/DERBY-4070 > Project: Derby > Issue Type: Sub-task > Components: JDBC, Network Client > Affects Versions: 10.4.2.1, 10.6.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > Fix For: 10.6.0.0 > > Attachments: derby-4070-1a-ds_exception_handling.diff, derby-4070-1b-ds_exception_handling.diff, derby-4070-1c-ds_exception_handling.diff, derby-4070-1d-ds_exception_handling.diff > > > If a connection attribute is badly formatted, for instance if the attribute name is specified without a corresponding value, the embedded and the client data sources throw different exceptions: > o XJ212: Invalid attribute syntax: bad > o XJ028: The URL 'jdbc:derby://localhost:1527/wombat;bad' is not properly formed. > Currently the only client data source affected is ClientDataSource, but the connection pool and XA data sources also have to deal with this issue when DERBY-4067 has been fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.