EntityManagerFactory createEntityManagerFactory(
PersistenceConfiguration configuration
)
Create and return an EntityManagerFactory for the named persistence unit, using the given properties.
- Parameters:
configuration
- configuration of the persistence unit
- Return:
- the factory that creates {@link EntityManager} s configured according to the specified persistence unit
- Since:
- JPA 3.2