public void testReadRelationship() throws Exception {
deleteTestData();
DataContext context = createDataContext();
ToManyRoot2 src2 = context.newObject(ToManyRoot2.class);
ToManyFkRoot src = context.newObject(ToManyFkRoot.class);
// this should go away when such mapping becomes fully supported
src.setDepId(new Integer(1));
ToManyFkDep target = context.newObject(ToManyFkDep.class);