...
The RDB DAS leverages the SDO ChangeSummary to drive graph chages changes to a database. Here is a simple example:
Code Blockpanel |
---|
DAS das = DAS.FACTORY.createDAS(getConnection());
select = das.createCommand("Select * from CUSTOMER where ID = 1");
root = select.executeQuery(); DataObject customer = (DataObject) root.get("CUSTOMER[1]");
"Pavick");
|
The first half of this example creates a new read command and executes it. The result is a graph of DataObjects (in this case just one) represented by the containing "root".
...
Notice that only a single column is updated rahther than all columns. This is because the SDO ChangeSummary has enough fidelity to track changes on a property-by-property bases and the das has the ability to generate partial updates.
last edited 2006-10-12 03:01:47 by KevinWilliams