getDbTrans().endTrans();
getDbTrans().startTrans();
final Criteria<IEntity> c = new Criteria<IEntity>(entityHandler.entityClass());
c.getPrimaryGroup().addCriterion(
new NameKey(e.entityClass(), e.getName(), entityHandler.getActualNameProperty()), true);
final IEntity re = dao.findEntity(c);
Assert.assertTrue(re != null);
if(re != null) Assert.assertEquals(re, e);
}
}