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/Tuscany/TuscanyJava/DAS_Java_Overview/RDBDAS_Java_User_Guide/OCC
------------------------------------------------------------------------------
das.applyChanges(root);
}}}
- If OCC is enabled then as part of "applyChanges" processing the DAS will ensure that the
table row representing "CUSTOMER[1]" has not been changed since it was read. This is possible
because a feature of the orignal SDO graph is to "remember" its original state along with
any changes that have been made. The DAS has access to this original state and uses it to
create an "overqualified" update statement. When the DAS execute this update statement, it
will fail if the underlying data has been modified and, if so, an exception will be thrown
and the transaction rolled back.
+ If OCC is enabled then as part of "applyChanges" processing the DAS will ensure that the
table row representing "CUSTOMER[1]" has not been changed since it was read. This is possible
because a feature of the orignal SDO graph is to "remember" its original state along with
any changes that have been made. The DAS has access to this original state and uses it to
create an "overqualified" update statement. When the DAS executes this update statement against
the database, it will fail if the underlying data has been modified and, if so, an exception
will be thrown and the transaction rolled back.
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org
|