Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22196 invoked from network); 24 Jul 2008 17:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2008 17:56:31 -0000 Received: (qmail 35774 invoked by uid 500); 24 Jul 2008 17:56:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35739 invoked by uid 500); 24 Jul 2008 17:56:30 -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 35718 invoked by uid 99); 24 Jul 2008 17:56:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 10:56:30 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 17:55:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC56A234C185 for ; Thu, 24 Jul 2008 10:55:31 -0700 (PDT) Message-ID: <1966299653.1216922131901.JavaMail.jira@brutus> Date: Thu, 24 Jul 2008 10:55:31 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3579) The Developer's Guide incorrectly describes the behavior of transactions inside procedures and functions In-Reply-To: <216196632.1206727344519.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-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616552#action_12616552 ] Rick Hillegas commented on DERBY-3579: -------------------------------------- Hi Kim, Your latest fixes look good to me. +1 > The Developer's Guide incorrectly describes the behavior of transactions inside procedures and functions > -------------------------------------------------------------------------------------------------------- > > Key: DERBY-3579 > URL: https://issues.apache.org/jira/browse/DERBY-3579 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.3.2.1 > Reporter: Rick Hillegas > Assignee: Kim Haase > Attachments: DERBY-3579-2.diff, DERBY-3579-2.stat, DERBY-3579-2.zip, DERBY-3579-3.diff, DERBY-3579-3.zip, DERBY-3579.diff, DERBY-3579.zip, z.java > > > The "Programming database-side JDBC procedures" section of the Developer's Guide misleads users about how transactions can be managed inside database procedures. For instance, the section titled "Invoking a procedure using the CALL command" says the following: "Procedures that use nested connections, on the other hand, are not permitted to commit or roll back and can therefore be rolled back after the calling statement." This is not true. User-coded procedures can issue both commit() and rollback() on the nested connection bound to the "jdbc:default:connection" URL and those methods have the desired behavior. The whole "Programming database-side JDBC procedures" section could use an overhaul since it appears to make other misleading statements about the behavior of transactions inside routines. Thanks to Dag for pointing out the following email thread: http://www.nabble.com/Transaction-Problems-of-a-Derby-Stored-Procedure-td15494178.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.