THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
DAS* das = DASImpl::getFactory().createDAS(Config("BooksConfigWithAlias.xml"), getConnection());
CommandPtr select = das->getCommand("get book by ID equal 1");
DataObjectPtr root = select->executeQuery();
wstring author = root->getCString("Book[1]/Writer")); delete das;
|
Here is the associated configuration file:
...