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

New page:
= Change History Processing =

SDO provides an important feature called the !ChangeSummary.  Using this 
feature, a graph of related !DataObjects can track changes made to iteself.  
These changes include additions to the graph, deletions, !DataObject property 
(attribute) changes and even changes to object relationships.

The RDB DAS leverages the SDO !ChangeSummary to drive graph chages to a 
database.  Here is a simple example:

{{{
   DAS das = DAS.FACTORY.createDAS(getConnection());
   Command select = das.createCommand("Select * from CUSTOMER where ID = 1");
   DataObject root = select.executeQuery();

   DataObject customer = (DataObject) root.get("CUSTOMER[1]");
   customer.set("LASTNAME", "Pavick");
   das.applyChanges(root);
}}}

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

Reply via email to