| Package | Description | 
|---|---|
| org.hibernate | 
 
        This package defines the central Hibernate APIs. 
 | 
| 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 | 
 Defines Hibernate implementation of Java Persistence specification. 
 | 
| org.hibernate.jpa.boot.internal | |
| org.hibernate.metamodel | 
 
    NOTE: This package is currently unfinished and therefore considered experimental and unsupported. 
 | 
| org.hibernate.metamodel.source.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 | 
|---|---|
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()
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.CleanupSync.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.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 | 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)
Get a registered SessionFactory by 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)
Adds a SessionFactory to the registry 
 | 
void | 
SessionFactoryObserverChain.sessionFactoryClosed(SessionFactory factory)  | 
void | 
SessionFactoryObserverChain.sessionFactoryCreated(SessionFactory factory)  | 
| Modifier and Type | Method and Description | 
|---|---|
SessionFactory | 
HibernateEntityManagerFactory.getSessionFactory()
Obtain the underlying Hibernate SessionFactory. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EntityManagerFactoryBuilderImpl.ServiceRegistryCloser.sessionFactoryClosed(SessionFactory sessionFactory)  | 
void | 
EntityManagerFactoryBuilderImpl.ServiceRegistryCloser.sessionFactoryCreated(SessionFactory sessionFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
SessionFactory | 
SessionFactoryBuilder.build()
After all options have been set, build the SessionFactory. 
 | 
SessionFactory | 
Metadata.buildSessionFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
SessionFactory | 
SessionFactoryBuilderImpl.build()  | 
SessionFactory | 
MetadataImpl.buildSessionFactory()  | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.