Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27496 invoked from network); 25 Apr 2006 23:06:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 23:06:33 -0000 Received: (qmail 82017 invoked by uid 500); 25 Apr 2006 23:06:26 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 81793 invoked by uid 500); 25 Apr 2006 23:06:25 -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 81784 invoked by uid 99); 25 Apr 2006 23:06:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 16:06:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 16:06:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5CF4471429B for ; Tue, 25 Apr 2006 23:06:04 +0000 (GMT) Message-ID: <58110779.1146006364378.JavaMail.root@brutus> Date: Tue, 25 Apr 2006 23:06:04 +0000 (GMT+00:00) From: "Jean T. Anderson (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-678) derby documentation does not reflect changes to update lock behavior In-Reply-To: <1652838509.1131040604465.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-678?page=all ] Jean T. Anderson closed DERBY-678: ---------------------------------- Fix Version: 10.1.3.0 (was: 10.2.0.0) Resolution: Fixed Merged from 10.2, committed revision 397012. > derby documentation does not reflect changes to update lock behavior > -------------------------------------------------------------------- > > Key: DERBY-678 > URL: http://issues.apache.org/jira/browse/DERBY-678 > Project: Derby > Type: Bug > Components: Documentation > Versions: 10.0.2.0 > Reporter: Mike Matrigali > Assignee: Jean T. Anderson > Fix For: 10.1.3.0 > Attachments: cdevconcepts842385.html, derby678.diff > > The following section in the developers guide on update locks needs to be changed from: > When a user-defined update cursor (created with the FOR UPDATE clause) reads data, its transaction obtains an update lock on the data. If the user-defined update cursor updates the data, the update lock is converted to an exclusive lock. If the cursor does not update the row, when the transaction steps through to the next row, transactions using the TRANSACTION_READ_COMMITTED isolation level release the lock, and transactions using the TRANSACTION_SERIALIZABLE or TRANSACTION_REPEATABLE_READ isolation level downgrade it to a shared lock until the transaction is committed. (For update locks, the TRANSACTION_READ_UNCOMMITTED isolation level acts the same way as TRANSACTION_READ_COMMITTED.) > to: > When a user-defined update cursor (created with the FOR UPDATE clause) reads data, its transaction obtains an update lock on the data. If the user-defined update cursor updates the data, the update lock is converted to an exclusive lock. If the cursor does not update the row, when the transaction steps through to the next row, transactions using the TRANSACTION_READ_COMMITTED isolation level release the lock. > (For update locks, the TRANSACTION_READ_UNCOMMITTED isolation level acts the same way as TRANSACTION_READ_COMMITTED.) -- 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