db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r397012 - /db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita
Date Tue, 25 Apr 2006 23:04:24 GMT
Author: jta
Date: Tue Apr 25 16:04:21 2006
New Revision: 397012

URL: http://svn.apache.org/viewcvs?rev=397012&view=rev
Log:
DERBY-678 : port doc fix to 10.1.3

Modified:
    db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita

Modified: db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita?rev=397012&r1=397011&r2=397012&view=diff
==============================================================================
--- db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita (original)
+++ db/derby/docs/branches/10.1/src/devguide/cdevconcepts842385.dita Tue Apr 25 16:04:21 2006
@@ -1,4 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
+
+<!DOCTYPE concept PUBLIC "-//IBM//DTD DITA Concept//EN"
+ "../dtd/concept.dtd">
 <!-- 
 Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.  
 
@@ -14,25 +17,19 @@
 See the License for the specific language governing permissions and  
 limitations under the License.
 -->
-<!DOCTYPE concept PUBLIC "-//IBM//DTD DITA Concept//EN" "../dtd/concept.dtd">
-<concept xml:lang="en-us" id="cdevconcepts842385">
+<concept id="cdevconcepts842385" xml:lang="en-us">
 <title>Update locks</title>
 <prolog><metadata>
-<keywords>
-<indexterm>Update locks</indexterm>
-</keywords>
-</metadata>
-</prolog>
+<keywords><indexterm>Update locks</indexterm></keywords>
+</metadata></prolog>
 <conbody>
 <p>When a user-defined update cursor (created with the FOR UPDATE clause)
-reads data, its transaction obtains an <i>update </i>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.)</p>
+reads data, its transaction obtains an <i>update</i> 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.)</p>
 <p>Update locks help minimize deadlocks.</p>
-</conbody></concept>
+</conbody>
+</concept>



Mime
View raw message