Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27768 invoked from network); 14 Feb 2008 06:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 06:33:31 -0000 Received: (qmail 93853 invoked by uid 500); 14 Feb 2008 06:33:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93822 invoked by uid 500); 14 Feb 2008 06:33:24 -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 93813 invoked by uid 99); 14 Feb 2008 06:33:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 22:33:24 -0800 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 06:32:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DF799714075 for ; Wed, 13 Feb 2008 22:33:07 -0800 (PST) Message-ID: <27169232.1202970787913.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 22:33:07 -0800 (PST) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3414) In Network server, rollback inside a java procedure does not close the resultsets created before the call to the java procedure. In-Reply-To: <32092289.1202921588567.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-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568816#action_12568816 ] Mamta A. Satoor commented on DERBY-3414: ---------------------------------------- Added a junit test case for this behavior. The test went into trunk(revision 627673) and 10.3 codeline(revision 627674). The test case runs in embedded mode to show the correct behavior for rollback inside a java procedure causing all the resultsets to close. The test case for now has been commented out for network server mode and it should be enabled when this jira entry is fixed. > In Network server, rollback inside a java procedure does not close the resultsets created before the call to the java procedure. > -------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3414 > URL: https://issues.apache.org/jira/browse/DERBY-3414 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1 > Reporter: Mamta A. Satoor > Attachments: test_rollback_in_procedure.java > > > Inside network server framework, if there is java procedure will rollback inside it, the rollback does not close the resultsets that were created before the call to java procedure was made. This happens in trunk, 10.3 and 10.2 codelines. I haven't tried earlier versions of Derby. In embedded mode, the resultsets (created before the call to java procedure) get closed when the rollback is done inside the java procedure. > I will soon attach a standalone test case for this behavior. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.