Hello,

The DAS provides the option to employ optimistic concurrency control (OCC) on updates to the database. You can read more about this concept here:
http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/RDBDAS_Java_User_Guide

The OCC documentation is weak but I will add to it soon. Basically, "collision" identifies a column to be used as part of an over qualified update statement to enforce OCC. "Managed" means that it is the responsibility of the DAS to change the value of the "collision" column. A typical usage is to allow the DAS to control the modification of the "collision" column rather that forcing the application to do it. When the DAS is managing the collision column then it will increment the value of the column before writing the row to the database.

Test cases in org.apache.tuscany.das.rdb.test.OCCTests demonstrate these concepts.

--Kevin

彬邵 wrote:

Hi all

As the title says, when should these properties set true?

Can anybody help?

Thanks!




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

Reply via email to