Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 32456 invoked from network); 13 Aug 2010 03:39:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Aug 2010 03:39:43 -0000 Received: (qmail 9815 invoked by uid 500); 13 Aug 2010 03:39:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 9613 invoked by uid 500); 13 Aug 2010 03:39:41 -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 9605 invoked by uid 99); 13 Aug 2010 03:39:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 03:39:40 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 03:39:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7D3dGGO005889 for ; Fri, 13 Aug 2010 03:39:16 GMT Message-ID: <17528306.321621281670756283.JavaMail.jira@thor> Date: Thu, 12 Aug 2010 23:39:16 -0400 (EDT) From: "Yun Lee (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4767) Detailed prompt for Error XCL16 is different between Client and Embed In-Reply-To: <32539561.275801281534737300.JavaMail.jira@thor> 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-4767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yun Lee updated DERBY-4767: --------------------------- Attachment: derby-4767-1.patch derby-4767-1.stat Hi, Myrna. I have removed CLIENT_RESULT_SET_NOT_OPEN and "XCL16.S.1", just keeped "XCL16.S", please check the new patch. > Detailed prompt for Error XCL16 is different between Client and Embed > --------------------------------------------------------------------- > > Key: DERBY-4767 > URL: https://issues.apache.org/jira/browse/DERBY-4767 > Project: Derby > Issue Type: Improvement > Components: JDBC > Reporter: Yun Lee > Assignee: Yun Lee > Attachments: derby-4767-1.patch, derby-4767-1.stat, derby-4767.patch, derby-4767.stat > > > For the sql script below: > create table t1(c11 int, c12 int); > -- insert data into tables > insert into t1 values(1,1); > insert into t1 values(2,2); > -- set autocommit off > autocommit off; > get with nohold cursor jdk1 as 'SELECT * FROM t1'; > -- do fetches from the cursor > next jdk1; > --commit > commit; > -- now try the fetch on cursor again after commit > -- cursors jdk1 will give Error XCL16 > next jdk1; > -- clean up. > close jdk1; > for the line "next jdk1;", an Error XCL16 will be thrown. However, detailed prompt for Error XCL16 is different between Client and Embed. > In client mode, we get "ERROR XCL16: ResultSet not open. Verify that autocommit is OFF." > While, in embed mode, we get "ERROR XCL16: ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.