Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 55354 invoked from network); 8 Nov 2005 21:38:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Nov 2005 21:38:46 -0000 Received: (qmail 31721 invoked by uid 500); 8 Nov 2005 21:38:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31484 invoked by uid 500); 8 Nov 2005 21:38:44 -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 31475 invoked by uid 99); 8 Nov 2005 21:38:44 -0000 X-ASF-Spam-Status: No, hits=1.3 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; Tue, 08 Nov 2005 13:38:43 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E0E05593 for ; Tue, 8 Nov 2005 22:38:22 +0100 (CET) Message-ID: <1332922804.1131485902919.JavaMail.jira@ajax.apache.org> Date: Tue, 8 Nov 2005 22:38:22 +0100 (CET) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-648) ij 'show connections' statement does not work in JSR169 In-Reply-To: <2111192514.1130284315632.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-648?page=all ] Deepa Remesh closed DERBY-648: ------------------------------ > ij 'show connections' statement does not work in JSR169 > ------------------------------------------------------- > > Key: DERBY-648 > URL: http://issues.apache.org/jira/browse/DERBY-648 > Project: Derby > Type: Improvement > Components: Tools > Versions: 10.2.0.0 > Environment: J2ME/CDC/Foundation Profile with JSR169 > Reporter: Deepa Remesh > Assignee: Deepa Remesh > Priority: Minor > Fix For: 10.2.0.0 > Attachments: derby-648-v2.diff, derby-648.status > > 'show connections' statement throws the following exception when run in CDC/FP with JSR169: "JAVA ERROR: java.lang.NoSuchMethodError: java/sql/DatabaseMetaData.getURL()Ljava/lang/String;" > This is because java/sql/DatabaseMetaData.getURL() method is not available in JSR169. In JSR169, DataSource has to be used to get a connection and this does not use a URL. So this method is not available. > Currently, 'show connections' displays connection names along with the URLs used to get the connections. When DataSource is used to get connection (ij.dataSource property is set), I plan to change this to display only connection names. With this change, around 7 tests can be enabled to run in CDC/FP. -- 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