Package | Description |
---|---|
javax.persistence | |
javax.persistence.spi | |
org.hibernate.ejb | |
org.hibernate.ejb.internal | |
org.hibernate.search.jpa.impl | |
org.osgi.service.jpa |
JPA Package Version 1.0.
|
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 | Interface and Description |
---|---|
interface |
HibernateEntityManagerFactory
Contract giving access to the underlying
SessionFactory from an EntityManagerFactory |
Modifier and Type | Class and Description |
---|---|
class |
EntityManagerFactoryImpl
Actual Hibernate implementation of
EntityManagerFactory . |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
Ejb3Configuration.buildEntityManagerFactory()
Deprecated.
|
EntityManagerFactory |
Ejb3Configuration.buildEntityManagerFactory(BootstrapServiceRegistryBuilder builder)
Deprecated.
|
EntityManagerFactory |
HibernatePersistence.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map properties)
Create an entity manager factory from the given persistence unit info, using the specified
properties (they override any on the PUI).
|
EntityManagerFactory |
Ejb3Configuration.createEntityManagerFactory()
Deprecated.
|
EntityManagerFactory |
HibernatePersistence.createEntityManagerFactory(Map properties)
Deprecated.
|
EntityManagerFactory |
Ejb3Configuration.createEntityManagerFactory(Map workingVars)
Deprecated.
use the Java Persistence API
|
EntityManagerFactory |
HibernatePersistence.createEntityManagerFactory(String persistenceUnitName,
Map properties)
Get an entity manager factory by its entity manager name, using the specified
properties (they override any found in the peristence.xml file).
|
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 |
---|---|
EntityManagerFactory |
FullTextEntityManagerImpl.getEntityManagerFactory() |
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
EntityManagerFactoryBuilder.createEntityManagerFactory(Map<String,Object> props)
Return an EntityManagerFactory instance configured according to the properties
defined in the corresponding persistence descriptor, as well as the properties
passed into the method.
|
Modifier and Type | Method and Description |
---|---|
protected EntityManagerFactory |
AbstractJPARegistry.getEntityManagerFactory() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.