Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cache.ehcache.management.impl |
Defines JMX support for the Ehcache integration
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.context.internal |
Internal implementations and support around "current session" handling.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.boot.internal |
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 |
SessionFactoryBuilder.build()
After all options have been set, build the SessionFactory.
|
SessionFactory |
Metadata.buildSessionFactory()
Short-hand form of building a
SessionFactory through the builder without any additional
option overrides. |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
SessionFactoryBuilderImpl.build() |
SessionFactory |
MetadataImpl.buildSessionFactory() |
SessionFactory |
InFlightMetadataCollectorImpl.buildSessionFactory() |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
AbstractDelegatingMetadata.buildSessionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
EhcacheHibernate.enableHibernateStatistics(SessionFactory sessionFactory)
Enable hibernate statistics with the input session factory
|
void |
EhcacheHibernateMBeanRegistration.enableHibernateStatisticsSupport(SessionFactory sessionFactory)
Enable hibernate statistics in the mbean.
|
void |
EhcacheHibernateMBeanRegistrationImpl.enableHibernateStatisticsSupport(SessionFactory sessionFactory) |
Constructor and Description |
---|
HibernateStatsImpl(SessionFactory sessionFactory)
Constructor accepting the backing
SessionFactory |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
Configuration.buildSessionFactory()
Create a
SessionFactory using the properties and mappings in this configuration. |
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.CleanupSync.factory |
Modifier and Type | Method and Description |
---|---|
protected static java.util.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 |
ManagedSessionContext.unbind(SessionFactory factory)
Unbinds the session (if one) current associated with the context for the
given session.
|
static Session |
ThreadLocalSessionContext.unbind(SessionFactory factory)
Disassociates a previously bound session from the current thread of execution.
|
Constructor and Description |
---|
CleanupSync(SessionFactory factory) |
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 |
---|---|
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.findSessionFactory(java.lang.String uuid,
java.lang.String name) |
SessionFactory |
SessionFactoryRegistry.getNamedSessionFactory(java.lang.String name)
Get a registered SessionFactory by name
|
SessionFactory |
SessionFactoryRegistry.getSessionFactory(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryRegistry.addSessionFactory(java.lang.String uuid,
java.lang.String name,
boolean isNameAlsoJndiName,
SessionFactory instance,
JndiService jndiService)
Adds a SessionFactory to the registry
|
void |
SessionFactoryObserverChain.sessionFactoryClosed(SessionFactory factory) |
void |
SessionFactoryObserverChain.sessionFactoryCreated(SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
EntityManagerFactoryBuilderImpl.ServiceRegistryCloser.sessionFactoryClosed(SessionFactory sessionFactory) |
void |
EntityManagerFactoryBuilderImpl.ServiceRegistryCloser.sessionFactoryCreated(SessionFactory sessionFactory) |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.