269270271272273274275276277278279
toMany.setNum(78); toMany.setNumBalls(33); mgr.put(toMany); InheritanceToMany rel = new InheritanceToMany(); rel.addEntity(common); rel.addEntity(toMany); mgr.put(rel); mgr.flush();
270271272273274275276277278279280
toMany.setNumBalls(33); mgr.put(toMany); InheritanceToMany rel = new InheritanceToMany(); rel.addEntity(common); rel.addEntity(toMany); mgr.put(rel); mgr.flush(); InheritanceToMany newRel = mgr.find(InheritanceToMany.class, rel.getId());