// retrieve by name key if applicable..
if(INamedEntity.class.isAssignableFrom(entityHandler.entityClass())) {
logger.debug("Perfoming actual find by name dao test..");
final Class<?> nec = entityHandler.entityClass();
final String name = ((INamedEntity) e).getName();
final NameKey<INamedEntity> nk = new NameKey(nec, name);
startNewTransaction();
try {
e = dao.load(nk);
// NOTE: as there may be other like enties having the same name, we only
// test when we know there is no ambiguity