JPA Method
in jakarta.persistence.spi.PersistenceProvider

EntityManagerFactory createContainerEntityManagerFactory(
  PersistenceUnitInfo info, 
  Map<?,?> map
)


Called by the container when an EntityManagerFactory is to be created.
Parameters:
info - metadata for use by the persistence provider
map - a Map of integration-level properties for use by the persistence provider (may be null if no properties are specified). These properties may include properties to control schema generation. If a Bean Validation provider is present in the classpath, the container must pass the {@code ValidatorFactory} instance in the map with the key {@code "jakarta.persistence.validation.factory"} . If the containing archive is a bean archive, the container must pass the {@code BeanManager} instance in the map with the key {@code "jakarta.persistence.bean.manager"} .
Return:
{@link EntityManagerFactory} for the persistence unit specified by the metadata
Since:
JPA 1.0