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

------------------------------------------------------------------------------
     DataObject customer = root.getDataObject("CUSTOMER[1]");
     List orders = customer.getList("orders");
  }}}
+ 
+ You can see that the client can work with the data graph as a set of related 
objects.  Once the application has a handle to a customer, it can reference 
that customers related orders by accessing the customers "orders" property.
  
  Notice that the example provides a config file as part of creating the DAS.  
This file contains mapping information that defines to the DAS how the queried 
tables are related.  Here are the contents of the config file:
  
@@ -40, +42 @@

  
  As a side note, the config in this example is not required since the table 
definitions follow a "convention" recognized by the DAS.  See 
WorkingWithConventions.
  
- 
- 
- 

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

Reply via email to