Uses of Interface
jakarta.persistence.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 jakarta.persistence
Modifier and TypeMethodDescriptionstatic EntityManagerFactory
Persistence.createEntityManagerFactory
(PersistenceConfiguration configuration) Create and return anEntityManagerFactory
for the named persistence unit, using the given properties.static EntityManagerFactory
Persistence.createEntityManagerFactory
(String persistenceUnitName) Create and return anEntityManagerFactory
for the named persistence unit.static EntityManagerFactory
Persistence.createEntityManagerFactory
(String persistenceUnitName, Map<?, ?> properties) Create and return anEntityManagerFactory
for the named persistence unit, using the given properties.PersistenceConfiguration.createEntityManagerFactory()
Create a newEntityManagerFactory
based on this configuration.EntityManager.getEntityManagerFactory()
The entity manager factory which created this entity manager. -
Uses of EntityManagerFactory in jakarta.persistence.spi
Modifier and TypeMethodDescriptionPersistenceProvider.createContainerEntityManagerFactory
(PersistenceUnitInfo info, Map<?, ?> map) Called by the container when anEntityManagerFactory
is to be created.PersistenceProvider.createEntityManagerFactory
(PersistenceConfiguration configuration) Called byPersistence
class when anEntityManagerFactory
is to be created.PersistenceProvider.createEntityManagerFactory
(String emName, Map<?, ?> map) Called byPersistence
class when anEntityManagerFactory
is to be created.