createContainerEntityManagerFactory(info, map) - JPA PersistenceProvider's method
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). If a Bean Validation provider is present in the classpath, the container must pass the ValidatorFactory
instance in the map with the key "javax.persistence.validation.factory"
.
- Returns:
- EntityManagerFactory for the persistence unit specified by the metadata
- Since:
- JPA 1.0