createdNewExtendedPersistence = true;
if (JPA_LOGGER.isDebugEnabled())
JPA_LOGGER.debugf("created new ExtendedEntityManager for unit name=%s, useDeepInheritance = %b", unitName, useDeepInheritance);
} else {
entityManager1.increaseReferenceCount();
if (JPA_LOGGER.isDebugEnabled())
JPA_LOGGER.debugf("inherited existing ExtendedEntityManager from SFSB invocation stack, unit name=%s, " +
"%d beans sharing ExtendedEntityManager, useDeepInheritance = %b", unitName, entityManager1.getReferenceCount(), useDeepInheritance);
}