Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35390 invoked from network); 5 Jan 2005 13:14:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jan 2005 13:14:40 -0000 Received: (qmail 56239 invoked by uid 500); 5 Jan 2005 13:14:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56139 invoked by uid 500); 5 Jan 2005 13:14:27 -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 56093 invoked by uid 99); 5 Jan 2005 13:14:27 -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-4.Sun.COM (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 05 Jan 2005 05:14:22 -0800 Received: from phys-biff-2 ([129.158.227.37]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j05DDwdx007550 for ; Wed, 5 Jan 2005 06:14:19 -0700 (MST) Received: from conversion-daemon.biff-mail1.india.sun.com by biff-mail1.india.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0I9U00201HUZDK@biff-mail1.india.sun.com> (original mail from Shreyas.Kaushik@Sun.COM) for derby-dev@db.apache.org; Wed, 05 Jan 2005 18:44:18 +0530 (IST) Received: from Sun.COM (lilly.India.Sun.COM [129.158.229.246]) by biff-mail1.india.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0I9U00LN0I3TY2@biff-mail1.india.sun.com> for derby-dev@db.apache.org; Wed, 05 Jan 2005 18:44:17 +0530 (IST) Date: Wed, 05 Jan 2005 18:42:45 +0530 From: Shreyas Kaushik Subject: Re: [jira] Commented: (DERBY-66) Derby supports open cursor across commits and hence DatabaseMetaData.supportsOpenCursorsAcrossCommit return true. In-reply-to: <870660367.1103796969805.JavaMail.apache@nagoya> To: Derby Development Reply-to: Shreyas.Kaushik@Sun.COM Message-id: <41DBE7CD.5060800@Sun.COM> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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/20040414 References: <870660367.1103796969805.JavaMail.apache@nagoya> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Can someone please update what is happening on this issue? thanks Shreyas Shreyas Kaushik (JIRA) wrote: > [ http://nagoya.apache.org/jira/browse/DERBY-66?page=comments#action_57008 ] > > Shreyas Kaushik commented on DERBY-66: > -------------------------------------- > > I think it's the other way around. As the JDBC api says "Retrieves whether this database supports keeping cursors open across commits" it is the property of the database. > > Since Derby can have cursors that are open across commits it should return true. > > To be even precise, when creating a ResultSet handle that needs to have cursors open across commits, a check on whether the underlying Database supports such a holdability has to be checked. > > >>Derby supports open cursor across commits and hence DatabaseMetaData.supportsOpenCursorsAcrossCommit return true. >>----------------------------------------------------------------------------------------------------------------- >> >> Key: DERBY-66 >> URL: http://nagoya.apache.org/jira/browse/DERBY-66 >> Project: Derby >> Type: Bug >> Components: JDBC >> Versions: 10.0.2.0 >> Reporter: Mamta A. Satoor >> Priority: Minor > > >>Derby returns false for DatabaseMetaData.supportsOpenCursorsAcrossCommit. But that seems incorrect because Derby does support open cursor across commits and hence DatabaseMetaData.supportsOpenCursorsAcrossCommit return true. > >