Package | Description |
---|---|
javax.persistence | |
javax.persistence.spi | |
org.hibernate.ejb | |
org.hibernate.jpa |
Defines Hibernate implementation of Java Persistence specification.
|
org.hibernate.jpa.boot.internal | |
org.hibernate.jpa.boot.spi | |
org.hibernate.jpa.internal | |
org.picketlink.identity.federation.core.sts.registry |
Modifier and Type | Method and Description |
---|---|
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.
|
EntityManagerFactory |
EntityManager.getEntityManagerFactory()
Return the entity manager factory for the entity manager.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
HibernatePersistence.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map properties)
Deprecated.
|
EntityManagerFactory |
HibernatePersistence.createEntityManagerFactory(String persistenceUnitName,
Map properties)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HibernateEntityManagerFactory
Contract giving access to the underlying
SessionFactory from an EntityManagerFactory |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
HibernatePersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map properties)
Called by the container when an
EntityManagerFactory
is to be created. |
EntityManagerFactory |
HibernatePersistenceProvider.createEntityManagerFactory(String persistenceUnitName,
Map properties)
Called by
Persistence class when an
EntityManagerFactory is to be created. |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
EntityManagerFactoryBuilderImpl.build() |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
EntityManagerFactoryBuilder.build()
Build
EntityManagerFactory instance |
Modifier and Type | Class and Description |
---|---|
class |
EntityManagerFactoryImpl
Actual Hibernate implementation of
EntityManagerFactory . |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
EntityManagerFactoryRegistry.getNamedEntityManagerFactory(String name)
Lookup the specified entity manager factory by name
|
Modifier and Type | Method and Description |
---|---|
void |
EntityManagerFactoryRegistry.addEntityManagerFactory(String name,
EntityManagerFactory entityManagerFactory)
register the specified entity manager factory
|
void |
EntityManagerFactoryRegistry.removeEntityManagerFactory(String name,
EntityManagerFactory entityManagerFactory)
remove the specified entity manager factory from the EntityManagerFactoryRegistry
|
Modifier and Type | Method and Description |
---|---|
protected EntityManagerFactory |
AbstractJPARegistry.getEntityManagerFactory() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.