Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1312 invoked from network); 21 Dec 2007 06:56:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Dec 2007 06:56:04 -0000 Received: (qmail 2649 invoked by uid 500); 21 Dec 2007 06:55:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2604 invoked by uid 500); 21 Dec 2007 06:55:53 -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 2591 invoked by uid 99); 21 Dec 2007 06:55:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2007 22:55:53 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 06:55:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D38A714238 for ; Thu, 20 Dec 2007 22:55:43 -0800 (PST) Message-ID: <31132798.1198220143248.JavaMail.jira@brutus> Date: Thu, 20 Dec 2007 22:55:43 -0800 (PST) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Issue Comment Edited: (DERBY-3037) Language ResultSet.finish() is called even when the ResultSet is going to be re-used. In-Reply-To: <4199712.1188603678999.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553877 ] mamtas edited comment on DERBY-3037 at 12/20/07 10:54 PM: ------------------------------------------------------------------- Commited the patch Derby_3037_AlterTableConstantActionChanges_v1_diff.txt with revision 606106 into trunk. Will merge into 10.3 later. was (Author: mamtas): ommited the patch Derby_3037_AlterTableConstantActionChanges_v1_diff.txt with revision 606106 into trunk. Will merge into 10.3 later. > Language ResultSet.finish() is called even when the ResultSet is going to be re-used. > ------------------------------------------------------------------------------------- > > Key: DERBY-3037 > URL: https://issues.apache.org/jira/browse/DERBY-3037 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.4.0.0 > Reporter: Daniel John Debrunner > Assignee: Mamta A. Satoor > Fix For: 10.3.2.2, 10.4.0.0 > > Attachments: Derby_3037_AlterTableConstantActionChanges_v1_diff.txt, Derby_3037_AlterTableConstantActionChanges_v1_stat.txt > > > DERBY-827 (correctly) changed the lifetime of the language ResultSet tree to be the lifetime of the activation, but did not fix up the correct calls to ResultSet.close() and ResultSet.finish(). > A language ResultSet's lifetime should be driven by the activation, so activation.close() should call finish() on its ResultSet. > EmbedResultSet should call close on its language ResultSet (theResults field) when the JDBC ResultSet is closed, it should not be calling finish() on its ResultSet. > See comments in DERBY-827 for some more details and issues. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.