2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.

 
 Apache Tuscany > Home > DAS Overview > DAS Java > DAS Java Documentation Menu > DAS Java Developer Guide > RDB DAS Java > RDB DAS - User Guide > Graph Merge User List | Dev List | Issue Tracker  

Graph Merge

Graph Merger utility helps in managing DataObjects creation using DataObjectModel and merging multiple DataObjects into single DataObject.
The RDBDAS can produce graphs of dynamic DataObjects as well as Static DataObjects.

Empty Graph and DataObject creation

When dealing in static way, DAS config's dataObjectModel attribute needs a valid value. Using this and SDO's TypeHelper, DAS can get Types for the Static DataObjects. With these SDO Types, DAS can create an empty DataGraph, add new DataObjects to it which can later be committed to database.

DataObjects Merge

Also, two or more DataObjects can be merged into a single DataObject. For this the GraphMerge needs to know the primary key name for all the DataObjects getting merged. The DataObjects being merged can correspond to same or different database tables.

website stats