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 | |
org.hibernate.ejb | |
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.jmx |
This package exposes a Hibernate instance via JMX.
|
org.hibernate.testing.junit.functional |
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()
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 |
---|---|
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)
Unassociate 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 |
---|
CleanupSynch(SessionFactory factory) |
Modifier and Type | Method and Description |
---|---|
SessionFactory |
EntityManagerFactoryImpl.getSessionFactory() |
SessionFactory |
HibernateEntityManagerFactory.getSessionFactory() |
Constructor and Description |
---|
EntityManagerFactoryImpl(SessionFactory sessionFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class<?> sessionInterceptorClass,
Configuration cfg) |
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 |
SessionFactoryImpl
Concrete implementation of the SessionFactory interface.
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
SessionImpl.getSessionFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
SessionFactoryObjectFactory.addInstance(String uid,
String name,
SessionFactory instance,
Properties properties) |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryStub
A flyweight for SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
StatisticsService.setSessionFactory(SessionFactory sf)
Useful to init this MBean wo a JNDI session factory name
|
Modifier and Type | Method and Description |
---|---|
SessionFactory |
ExecutionEnvironment.getSessionFactory() |
protected SessionFactory |
FunctionalTestCase.getSessions()
Get the factory for this test environment.
|
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved