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

------------------------------------------------------------------------------
  = Basic CRUD =
  The RDB DAS provides a simple, command-oriented approach for reading and 
writing to the database.
  
- == Reading Data ==
+ == A simple read ==
  The following illustrates the simplest possible read:
  {{{
     DAS das = DAS.FACTORY.createDAS(getConnection());
@@ -23, +23 @@

  
  The first line retreives the first Customer from the root's list of returned 
Customers (since we queried by ID, thereis only one).  The second line pulls 
the LASTNAME value from the customer.
  
- == Writing changes ==
+ == A simple write ==
+ The DAS leverages the SDO Change Summary to provide a very simple mechanism 
to flush data changes back to the database.  We can illustrate this by 
continuing the previous example:
+ {{{
+    customer.set("LASTNAME", "Pavick");
+    das.applyChanges(root);
+ }}}
  

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

Reply via email to