Package | Description |
---|---|
javax.persistence |
Java Persistence is the API for the management for persistence and object/relational mapping.
|
javax.persistence.spi |
SPI for Java Persistence providers
|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa | |
org.hibernate.jpa.boot.internal | |
org.hibernate.jpa.boot.spi | |
org.hibernate.search.orm.spi | |
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 |
SessionFactory
The main contract here is the creation of
Session instances. |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionFactoryImplementor
Defines the internal contract between the SessionFactory and other parts of
Hibernate such as implementors of Type.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryDelegatingImpl
Base delegating implementation of the SessionFactory and SessionFactoryImplementor
contracts for intended for easier implementation of SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
SessionDelegatorBaseImpl.getEntityManagerFactory() |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryImpl
Concrete implementation of the SessionFactory interface.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HibernateEntityManagerFactory
Deprecated.
(since 5.2) Use SessionFactory (or SessionFactoryImplementor) as it now extends EntityManagerFactory directly
|
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 | Method and Description |
---|---|
static org.hibernate.search.spi.SearchIntegrator |
SearchIntegratorHelper.extractFromEntityManagerFactory(EntityManagerFactory emf)
Extract a
SearchIntegrator from an active EntityManagerFactory . |
Modifier and Type | Method and Description |
---|---|
protected EntityManagerFactory |
AbstractJPARegistry.getEntityManagerFactory() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.