DataObject root = select.executeQuery();
DataObject book = root.getDataObject("BOOK[1]");
// Change a field to mark the instance 'dirty'
book.setInt("QUANTITY", 2);
int occValue = book.getInt("OCC");
das.applyChanges(root);
root = select.executeQuery();
book = root.getDataObject("BOOK[1]");
assertEquals(occValue + 1, book.getInt("OCC"));
}