DataObject newBook = root.createDataObject("Book");
newBook.setString("NAME", "Ant Colonies of the Old World");
newBook.setInt("BOOK_ID", 1001);
root.getList("Book").add(newBook);
ApplyChangesCommand apply = Command.FACTORY.createApplyChangesCommand(helper.getConfig());
apply.setConnection(getConnection());
apply.execute(root);
//Verify
select.setParameterValue("ID", new Integer(1001));
root = select.executeQuery();
assertEquals("Ant Colonies of the Old World", root.getString("Book[1]/NAME"));