e1Table.insert(1);
ObjectContext context = runtime.getContext();
E1 e1 = (E1) Cayenne.objectForQuery(context, new SelectQuery(E1.class));
UuidRoot1 r1 = context.newObject(UuidRoot1.class);
ReferenceableHandler refHandler = new ReferenceableHandler(context
.getEntityResolver());
UuidRelationshipHandler handler = new UuidRelationshipHandler(refHandler);
handler.relate(r1, e1);