Uses of Interface
javax.persistence.EntityManagerFactory
Packages that use EntityManagerFactory
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
SPI for Jakarta Persistence providers
-
Uses of EntityManagerFactory in javax.persistence
Methods in javax.persistence that return EntityManagerFactoryModifier and TypeMethodDescriptionstatic EntityManagerFactory
Persistence.createEntityManagerFactory
(String persistenceUnitName) Create and return an EntityManagerFactory for the named persistence unit.static EntityManagerFactory
Persistence.createEntityManagerFactory
(String persistenceUnitName, Map properties) Create and return an EntityManagerFactory for the named persistence unit using the given properties.EntityManager.getEntityManagerFactory()
Return the entity manager factory for the entity manager. -
Uses of EntityManagerFactory in javax.persistence.spi
Methods in javax.persistence.spi that return EntityManagerFactoryModifier and TypeMethodDescriptionPersistenceProvider.createContainerEntityManagerFactory
(PersistenceUnitInfo info, Map map) Called by the container when anEntityManagerFactory
is to be created.PersistenceProvider.createEntityManagerFactory
(String emName, Map map) Called byPersistence
class when anEntityManagerFactory
is to be created.