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/Change_History_Processing

------------------------------------------------------------------------------
  The second half of the example makes modification to a single object in the 
graph and then calls the applyChanges() method.  As part of the applyChanges 
processing, the das will scan the SDO !ChangeSummary and notice the modified 
!DataObject.  It will then generate the UPDATE statement required to reflect 
the change to the database:
  
  {{{
-    UPDATE CUSTOMER SET LASTNAME = 'Pavick' WHERE ID = 1;
+    UPDATE CUSTOMER SET LASTNAME = 'Pavick' WHERE ID = 1
  }}}
  
+ Notice that only a single column is updated rahther than all columns.  This 
is because the SDO !ChangeSummary has enough fidelity toe track changes on a 
property-by-property bases and the das has the ability to generate partial 
updates.
+ 
+ When the das has completed its processing of the !ChangeSummary all generated 
statements are executed against the database.  In this trivial example there is 
only a single statement to execute.  However, if there is more than a single 
statement to execute -- possibly several INSERT/UPDATE and DELETE statements -- 
then the das will sort the set of statements accordng to its write operation 
ordering algorithm.
+ 

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

Reply via email to