Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

DataObjectPtr customer = root->getDataObject("CUSTOMER\[1\]");
customer->setCString("LASTNAME", "Pavick");
das->applyChanges(root);

Panel

DASImpl* das = (DASImpl*) DASImpl::getFactory().createDAS(getConnection());
CommandPtr select = das->createCommand("Select * from CUSTOMER where ID = 1");
DataObjectPtr root = select->executeQuery();

Wiki Markup

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".

...