Uses of Interface
javax.persistence.EntityManagerFactory
-
Packages that use EntityManagerFactory Package Description javax.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping.javax.persistence.spi SPI for Jakarta Persistence providers -
-
Uses of EntityManagerFactory in javax.persistence
Methods in javax.persistence that return EntityManagerFactory Modifier and Type Method Description static EntityManagerFactoryPersistence. createEntityManagerFactory(java.lang.String persistenceUnitName)Create and return an EntityManagerFactory for the named persistence unit.static EntityManagerFactoryPersistence. createEntityManagerFactory(java.lang.String persistenceUnitName, java.util.Map properties)Create and return an EntityManagerFactory for the named persistence unit using the given properties.EntityManagerFactoryEntityManager. getEntityManagerFactory()Return the entity manager factory for the entity manager. -
Uses of EntityManagerFactory in javax.persistence.spi
Methods in javax.persistence.spi that return EntityManagerFactory Modifier and Type Method Description EntityManagerFactoryPersistenceProvider. createContainerEntityManagerFactory(PersistenceUnitInfo info, java.util.Map map)Called by the container when anEntityManagerFactoryis to be created.EntityManagerFactoryPersistenceProvider. createEntityManagerFactory(java.lang.String emName, java.util.Map map)Called byPersistenceclass when anEntityManagerFactoryis to be created.
-