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

------------------------------------------------------------------------------
- = Partial Update = 
+ = Partial Update =
  
+ The RDB DAS uses the SDO Change Summary to generate a set of database write 
operations.  Rather than generated a statment to update all columns in a table 
that maps to a SDO DataObject Type, the DAS generates statements that update 
ony those columns that map to a modified DataObject property.  For example, 
consider a Customer DataObject that has had the LastName property changed.  The 
update statement generated by the DAS will look somthing like this:
+ {{{
+    UPDATE CUSTOMER SET LASTNAME = ? WHERE ID = ?
+ }}}
+ Rather than a statement that updates all columns like this:
+ {{{
+    UPDATE CUSTOMER SET FIRSTNAME = ?, SET LASTNAME = ?, SET ADDRESS = ?, SET 
PHONE = ?, SET AGE = ?, SET SHOESIZE = ? WHERE ID = ?
+ }}}
+ 

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

Reply via email to