db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/forrest/src/documentation/content/xdocs/docu faq.xml repository.xml
Date Wed, 16 Jun 2004 23:00:18 GMT
arminw      2004/06/16 16:00:18

  Modified:    forrest/src/documentation/content/xdocs/docu faq.xml
                        repository.xml
  Log:
  fix docu bug
  add description for OL
  
  Revision  Changes    Path
  1.9       +7 -1      db-ojb/forrest/src/documentation/content/xdocs/docu/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/forrest/src/documentation/content/xdocs/docu/faq.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- faq.xml	14 Jun 2004 15:02:08 -0000	1.8
  +++ faq.xml	16 Jun 2004 23:00:17 -0000	1.9
  @@ -1446,6 +1446,12 @@
                   How to set up Optimistic Locking
               </question>
               <answer>
  +                <p>
  +                    Optimistic locking use an additional column (<em>Timestamp</em>
or <em>Integer</em>)
  +                    which is incremented each time changes are committed to the object,
and is utilizied
  +                    to determine whether an optimistic transaction should succeed or fail.
  +                    Optimistic locking is fast, because it checks data integrity only at
update time.
  +                </p>
                   <ol>
                       <li>
                           In your table you need a dedicated column of type
  
  
  
  1.8       +4 -3      db-ojb/forrest/src/documentation/content/xdocs/docu/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/forrest/src/documentation/content/xdocs/docu/repository.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- repository.xml	14 May 2004 21:32:14 -0000	1.7
  +++ repository.xml	16 Jun 2004 23:00:18 -0000	1.8
  @@ -907,8 +907,9 @@
                   </p>
                   <p>
                       The <em>locking</em> attribute is set to <em>true</em>
if the persistent attribute is
  -                    used for optimistic locking. More about <link href="site:faq/optimistic-locking"></link>.
  -                    The default value is <em>false</em>.
  +                    used for <em>optimistic locking</em>. More about
  +                    <link href="site:faq/optimistic-locking">optimistic locking</link>.
The default value is
  +                    <em>false</em>.
                   </p>
                   <p>
                       The <em>updatelock</em> attribute is set to <em>false</em>
if the persistent attribute is
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message