Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 36482 invoked from network); 8 Dec 2007 01:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2007 01:28:05 -0000 Received: (qmail 44823 invoked by uid 500); 8 Dec 2007 01:27:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44762 invoked by uid 500); 8 Dec 2007 01:27: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 44699 invoked by uid 99); 8 Dec 2007 01:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 17:27:52 -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; Sat, 08 Dec 2007 01:27:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C12771425E for ; Fri, 7 Dec 2007 17:27:43 -0800 (PST) Message-ID: <4287891.1197077263571.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 17:27:43 -0800 (PST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (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:all-tabpanel ] Daniel John Debrunner reopened DERBY-3037: ------------------------------------------ > See comments in DERBY-827 for some more details and issues. The comments in DERBY-827 show some other places where finish() is called, e.g. EmbedStatement. Ideally finish() should only be called from activation.close() and implementations of finish() calling finish() on child ResultSets. > 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 > > > 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.