|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntityManagerFactory | |
---|---|
javax.persistence | The javax.persistence package contains the classes and interfaces that define the contracts between a persistence provider and the managed classes and the clients of the Java Persistence API. |
javax.persistence.spi | The javax.persistence.spi package defines the classes and interfaces that are implemented by the persistence provider and the Java EE container for use by the container, provider, and/or Persistence bootstrap class in deployment and bootstrapping. |
Uses of EntityManagerFactory in javax.persistence |
---|
Methods in javax.persistence that return EntityManagerFactory | |
---|---|
static 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. |
Uses of EntityManagerFactory in javax.persistence.spi |
---|
Methods in javax.persistence.spi that return EntityManagerFactory | |
---|---|
EntityManagerFactory |
PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map map)
Called by the container when an EntityManagerFactory
is to be created. |
EntityManagerFactory |
PersistenceProvider.createEntityManagerFactory(String emName,
Map map)
Called by Persistence class when an EntityManagerFactory
is to be created. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |