Domain d = Domain.getDomain();
createDomain(d);
verifyDomain(d); // before commit, all is in uow
d.commit();
verifyDomain(d); // after commit, all is now in dd
d.rollback();
}
public static void createDomain(Domain d) {
Person p1 = d.createPerson();
p1.setName("Jukka");