Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18055 invoked from network); 30 Sep 2006 02:31:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2006 02:31:25 -0000 Received: (qmail 88959 invoked by uid 500); 30 Sep 2006 02:31:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 88747 invoked by uid 500); 30 Sep 2006 02:31: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 88738 invoked by uid 99); 30 Sep 2006 02:31:24 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 19:31:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:60145] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 17/94-21606-BF6DD154 for ; Fri, 29 Sep 2006 19:31:23 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9AF257142D8 for ; Fri, 29 Sep 2006 19:31:20 -0700 (PDT) Message-ID: <14940510.1159583480632.JavaMail.root@brutus> Date: Fri, 29 Sep 2006 19:31:20 -0700 (PDT) From: "Laura Stewart (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1683) Developer guide doc for scope of locks is incorrect for one case of repeatable read. In-Reply-To: <205251.1155338354470.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1683?page=all ] Laura Stewart updated DERBY-1683: --------------------------------- Attachment: derby1683.diff rdevconcepts8424.html Updated the dev guide topic per this issue. I also added several index entries and reformatted the topic so that there are now "sections" with titles, which will make it easier to read and locate information. > Developer guide doc for scope of locks is incorrect for one case of repeatable read. > ------------------------------------------------------------------------------------- > > Key: DERBY-1683 > URL: http://issues.apache.org/jira/browse/DERBY-1683 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.2.1.5, 10.1.2.1, 10.1.3.0, 10.1.3.1 > Reporter: Sunitha Kambhampati > Assigned To: Laura Stewart > Priority: Minor > Fix For: 10.2.2.0 > > Attachments: derby1683.diff, rdevconcepts8424.html > > > http://db.apache.org/derby/docs/dev/devguide/rdevconcepts8424.html > There is this section under single-row locks. > ------------- > For TRANSACTION_READ_COMMITTED or TRANSACTION_REPEATABLE_READ isolation, Derby treats rows as cursors for SELECT statements. It locks rows only as the application steps through the rows in the result. The current row is locked. > ------------- > The last statement above is not true for Repeatable read. The last stmt needs to be changed to-- > For TRANSACTION_REPEATABLE_READ isolation, the locks are released at the end of the transaction. For TRANSACTION_READ_COMMITTED, it locks rows only as the application steps through the rows in the result. The current row is locked. -- 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