Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 32713 invoked from network); 24 Jan 2006 11:52:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jan 2006 11:52:18 -0000 Received: (qmail 72255 invoked by uid 500); 24 Jan 2006 11:52:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 71961 invoked by uid 500); 24 Jan 2006 11:52:06 -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 71939 invoked by uid 99); 24 Jan 2006 11:52:06 -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, 24 Jan 2006 03:52:05 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id ED7C0182 for ; Tue, 24 Jan 2006 12:51:44 +0100 (CET) Message-ID: <361542290.1138103504970.JavaMail.jira@ajax.apache.org> Date: Tue, 24 Jan 2006 12:51:44 +0100 (CET) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-821) Client driver: Implicitly close exhausted result sets on the server In-Reply-To: <330763258.1137581450484.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-821?page=comments#action_12363814 ] Knut Anders Hatlen commented on DERBY-821: ------------------------------------------ Answer to my own question about why QRYCLSIMP is disabled when LMTBLKPRC is used: The DB2 driver seems to send QRYCLSIMP=1 in the OPNQRY message, but it closes the result set explicitly with a CLSQRY anyway. My best guess is that the disabling has something to do with this. I will modify the network server so that it disables QRYCLSIMP when the DB2 driver is used and the protocol is LMTBLKPRC, and enables it for the client driver (also when LMTBLKPRC is being used). > Client driver: Implicitly close exhausted result sets on the server > --------------------------------------------------------------------- > > Key: DERBY-821 > URL: http://issues.apache.org/jira/browse/DERBY-821 > Project: Derby > Type: Improvement > Components: Network Client, Network Server, Performance > Versions: 10.2.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.2.0.0 > > Forward-only result sets that are exhausted should be implicitly > closed on the server. This way, ResultSet.close() does not have to > send an explicit close message generating unnecessary network traffic. > The DRDA protocol supports this. From the description of OPNQRY (open > query): > The qryclsimp parameter controls whether the target server > implicitly closes a non-scrollable query upon end of data (SQLSTATE > 02000) in association with the cursor type. -- 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