bob.setInt("MANAGER", 0);
bob.setDataObject("company", company);
try {
das.applyChanges(root);
fail("Relationship modification should not be allowed.");
} catch (RuntimeException ex) {
assertEquals("Can not modify a one to one relationship that is key restricted", ex.getMessage());
}
assertEquals("ACME Publishing", company.getString("NAME"));