ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "Tuscany/TuscanyJava/DAS Java Overview/RDBDAS Java User Guide/Write Operation Ordering" by KevinWilliams
Date Mon, 02 Oct 2006 17:32:53 GMT
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/Write_Operation_Ordering

------------------------------------------------------------------------------
     SELECT * FROM CUSTOMER LEFT JOIN ORDER ON CUSTOMER.ID = ORDER.CUSTOMER_ID WHERE CUSTOMER.NAME
= ?
  }}}
  
- The resulting data graph will contain all matching customers as well as their related orders.
 Now assume the application uses the SDO API's to delete some customer from the graph and
then also deletes the related orders.  Although the application deleted the customer first,
the DAS must delete the orders first from the database since deleting the customer, with existing
referencing orders would violate the RI constraints and result in an exception.
+ The resulting data graph will contain all matching customers as well as their related orders.
 Now assume the application uses the SDO API's to delete some customer from the graph and
then also deletes the related orders.  Although the application deleted the customer first,
the DAS must delete the orders first from the database since deleting the customer, with existing
referencing orders, would violate the RI constraints and result in an exception.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message