Uses of Interface
jakarta.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 jakarta.persistence
Methods in jakarta.persistence that return EntityManagerFactoryModifier and TypeMethodDescriptionstatic EntityManagerFactoryPersistence.createEntityManagerFactory(PersistenceConfiguration configuration) Create and return anEntityManagerFactoryfor the named persistence unit, using the given properties.static EntityManagerFactoryPersistence.createEntityManagerFactory(String persistenceUnitName) Create and return anEntityManagerFactoryfor the named persistence unit.static EntityManagerFactoryPersistence.createEntityManagerFactory(String persistenceUnitName, Map<?, ?> properties) Create and return anEntityManagerFactoryfor the named persistence unit, using the given properties.PersistenceConfiguration.createEntityManagerFactory()Create a newEntityManagerFactorybased on this configuration.EntityManager.getEntityManagerFactory()The entity manager factory which created this entity manager. -
Uses of EntityManagerFactory in jakarta.persistence.spi
Methods in jakarta.persistence.spi that return EntityManagerFactoryModifier and TypeMethodDescriptionPersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo info, Map<?, ?> map) Called by the container when anEntityManagerFactoryis to be created.PersistenceProvider.createEntityManagerFactory(PersistenceConfiguration configuration) Called byPersistenceclass when anEntityManagerFactoryis to be created.PersistenceProvider.createEntityManagerFactory(String emName, Map<?, ?> map) Called byPersistenceclass when anEntityManagerFactoryis to be created.