Command select2 = das2.getCommand("select book 1");
DataObject root2 = select2.executeQuery();
DataObject book2 = root2.getDataObject("BOOK[1]");
// Change a field to mark the instance 'dirty'
book2.setInt("QUANTITY", 5);
das2.applyChanges(root2);
// Try to apply changes and catch the expecetd An update collision occurred
try {
das.applyChanges(root);
fail("An OCCException should be thrown");