Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by KevinWilliams:
http://wiki.apache.org/ws/WorkingWithOptimisticConcurrencyControl

------------------------------------------------------------------------------
- The RDB DAS provides a straightforward mechanism for support of 
OptimisticConcurrencyControl.  To enable OCC a client must designate an integer 
version column in the configuration (usully via a config xml file).
+ The RDB DAS provides a straightforward mechanism for support of 
OptimisticConcurrencyControl.  To enable OCC a client must designate an integer 
version column in the configuration (usully via a config xml file).  The 
following example is an example of a cofig file thta identifies a version 
column:
  
+ {{{
+   <Config 
xsi:noNamespaceSchemaLocation="http:///org.apache.tuscany.das.rdb/config.xsd"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 
+ 
+      <Command name="select book 1" SQL="select * from BOOK where BOOK_ID = 1" 
kind="Select"/>
+ 
+      <Table tableName="BOOK">
+         <Column columnName="BOOK_ID" primaryKey="true"/>
+       <Column columnName="OCC" collision="true" managed="true"/>
+      </Table>
+     
+    </Config>
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to