Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 62916 invoked from network); 16 Jun 2004 23:00:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 23:00:23 -0000 Received: (qmail 75942 invoked by uid 500); 16 Jun 2004 23:00:54 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 75887 invoked by uid 500); 16 Jun 2004 23:00:54 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 75868 invoked by uid 500); 16 Jun 2004 23:00:53 -0000 Received: (qmail 75829 invoked by uid 99); 16 Jun 2004 23:00:51 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 16 Jun 2004 16:00:51 -0700 Received: (qmail 62868 invoked by uid 1510); 16 Jun 2004 23:00:18 -0000 Date: 16 Jun 2004 23:00:18 -0000 Message-ID: <20040616230018.62867.qmail@minotaur.apache.org> From: arminw@apache.org To: db-ojb-cvs@apache.org Subject: cvs commit: db-ojb/forrest/src/documentation/content/xdocs/docu faq.xml repository.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 +

+ Optimistic locking use an additional column (Timestamp or Integer) + 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. +

  1. 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 @@

    The locking attribute is set to true if the persistent attribute is - used for optimistic locking. More about . - The default value is false. + used for optimistic locking. More about + optimistic locking. The default value is + false.

    The updatelock attribute is set to false 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