Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.context.internal | |
org.hibernate.ejb | |
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jmx |
This package exposes a Hibernate instance via JMX.
|
org.hibernate.metamodel |
NOTE: This package is currently unfinished and therefore considered experimental and unsupported.
|
org.hibernate.metamodel.source.internal | |
org.hibernate.search.batchindexing.impl | |
org.hibernate.search.hcore.impl | |
org.hibernate.search.impl |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
Session.getSessionFactory()
Get the session factory which created this session.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryObserver.sessionFactoryClosed(SessionFactory factory)
Callback to indicate that the given factory has been closed.
|
void |
SessionFactoryObserver.sessionFactoryCreated(SessionFactory factory)
Callback to indicate that the given factory has been created and is now ready for use.
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
Configuration.buildSessionFactory()
Deprecated.
|
SessionFactory |
Configuration.buildSessionFactory(ServiceRegistry serviceRegistry)
Create a
SessionFactory using the properties and mappings in this configuration. |
Modifier and Type | Field and Description |
---|---|
protected SessionFactory |
ThreadLocalSessionContext.CleanupSynch.factory |
Modifier and Type | Method and Description |
---|---|
protected static Map<SessionFactory,Session> |
ManagedSessionContext.sessionMap() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ManagedSessionContext.hasBind(SessionFactory factory)
Check to see if there is already a session associated with the current
thread for the given session factory.
|
static Session |
ThreadLocalSessionContext.unbind(SessionFactory factory)
Disassociates a previously bound session from the current thread of execution.
|
static Session |
ManagedSessionContext.unbind(SessionFactory factory)
Unbinds the session (if one) current associated with the context for the
given session.
|
Constructor and Description |
---|
ThreadLocalSessionContext.CleanupSynch(SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
HibernateEntityManagerFactory.getSessionFactory() |
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 | Method and Description |
---|---|
SessionFactory |
SessionDelegatorBaseImpl.getSessionFactory() |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryImpl
Concrete implementation of the SessionFactory interface.
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
SessionFactoryRegistry.getNamedSessionFactory(String name) |
SessionFactory |
SessionFactoryRegistry.getSessionFactory(String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryRegistry.addSessionFactory(String uuid,
String name,
boolean isNameAlsoJndiName,
SessionFactory instance,
JndiService jndiService) |
void |
SessionFactoryObserverChain.sessionFactoryClosed(SessionFactory factory) |
void |
SessionFactoryObserverChain.sessionFactoryCreated(SessionFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryStub
Deprecated.
See HHH-6190 for details
|
Modifier and Type | Method and Description |
---|---|
void |
StatisticsService.setSessionFactory(SessionFactory sf)
Deprecated.
Useful to init this MBean wo a JNDI session factory name
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
SessionFactoryBuilder.buildSessionFactory() |
SessionFactory |
Metadata.buildSessionFactory() |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
SessionFactoryBuilderImpl.buildSessionFactory() |
SessionFactory |
MetadataImpl.buildSessionFactory() |
Constructor and Description |
---|
IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
CacheMode cacheMode,
Class<?> type,
org.hibernate.search.engine.spi.SearchFactoryImplementor searchFactory,
String idName,
org.hibernate.search.backend.impl.batch.BatchBackend backend,
org.hibernate.search.exception.ErrorHandler errorHandler) |
IdentifierProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
SessionFactory sessionFactory,
int objectLoadingBatchSize,
Class<?> indexedType,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
long objectsLimit,
org.hibernate.search.exception.ErrorHandler errorHandler,
int idFetchSize) |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
HibernateSessionFactoryServiceProvider.getService() |
Modifier and Type | Method and Description |
---|---|
void |
HibernateSearchSessionFactoryObserver.sessionFactoryClosed(SessionFactory factory) |
void |
HibernateSearchSessionFactoryObserver.sessionFactoryCreated(SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
FullTextSessionImpl.getSessionFactory() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.