// for now testing that no exceptions are thrown... wouldn't hurt to check the
// data as well???
// insert
CrossdbM1E1 o1 = context.newObject(CrossdbM1E1.class);
o1.setName("o1");
CrossdbM2E1 o2 = context.newObject(CrossdbM2E1.class);
o2.setName("o2");
CrossdbM2E2 o3 = context.newObject(CrossdbM2E2.class);
o3.setName("o3");
o3.setToM1E1(o1);
o3.setToM2E1(o2);
context.commitChanges();
// update
CrossdbM1E1 o11 = context.newObject(CrossdbM1E1.class);
o11.setName("o11");
o3.setToM1E1(o11);
context.commitChanges();
// update with existing