if (rollback) throw new RuntimeException("Rollback");
}
private String getName(EntityManager em, Long testingEntityId) {
TestingEntityRepo teRepo = new JuEmUtil(em).getJpaRepository(TestingEntityRepo.class);
return teRepo.findOne(testingEntityId).getName();
}
private void setName(EntityManager em, Long testingEntityId, String name) {
TestingEntityRepo teRepo = new JuEmUtil(em).getJpaRepository(TestingEntityRepo.class);
teRepo.findOne(testingEntityId).setName(name);