Persitent type used in testing.
4748495051525354555657
rt.setStringField("foo " + i); em.persist(rt); } for (int i = 10; i < run2; i++) { em.persist(new RuntimeTest2(i)); } endTx(em); endEm(em); }
4647484950515253545556
414243444546474849505152
startTx(em); RuntimeTest1 runt1 = new RuntimeTest1(1); runt1.setStringField("runt1"); runt1.setSelfOneOne(new RuntimeTest1(2)); RuntimeTest2 runt2 = new RuntimeTest2(3); runt2.setStringField("runt2"); em.persist(runt1); em.persist(runt2); endTx(em);