// Modify a customer
Customer customer = (Customer) root.getCustomers().get(0);
customer.setLastName("Pavick");
// Modify an order
AnOrder order = (AnOrder) customer.getOrders().get(0);
order.setProduct("Kitchen Sink 001");
ApplyChangesCommand apply = Command.FACTORY.createApplyChangesCommand(getConfig("1xM_mapping_no_cud.xml"));
apply.setConnection(getConnection());
// Flush changes