|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Session | |
|---|---|
| org.hibernate | This package defines the central Hibernate APIs. |
| org.hibernate.classic | This package implements backward-compatibility with Hibernate 2.1 APIs now deprecated in Hibernate3. |
| org.hibernate.context | |
| org.hibernate.criterion | A framework for defining restriction criteria and order criteria. |
| org.hibernate.ejb | |
| org.hibernate.envers | |
| org.hibernate.envers.reader | |
| org.hibernate.envers.revisioninfo | |
| org.hibernate.envers.synchronization | |
| org.hibernate.envers.synchronization.work | |
| org.hibernate.event | This package defines an event framework for Hibernate. |
| org.hibernate.impl | This package contains implementations of the central Hibernate APIs, especially the Hibernate session. |
| Uses of Session in org.hibernate |
|---|
| Methods in org.hibernate that return Session | |
|---|---|
Session |
Session.getSession(EntityMode entityMode)
Starts a new Session with the given entity mode in effect. |
| Methods in org.hibernate with parameters of type Session | |
|---|---|
static Blob |
Hibernate.createBlob(byte[] bytes,
Session session)
Create a new Blob. |
static Blob |
Hibernate.createBlob(InputStream stream,
long length,
Session session)
Create a new Blob. |
static Clob |
Hibernate.createClob(Reader reader,
long length,
Session session)
Create a new Clob. |
static Clob |
Hibernate.createClob(String string,
Session session)
Create a new Clob. |
static LobCreator |
Hibernate.getLobCreator(Session session)
|
| Uses of Session in org.hibernate.classic |
|---|
| Subinterfaces of Session in org.hibernate.classic | |
|---|---|
interface |
Session
An extension of the Session API, including all deprecated methods from Hibernate2. |
| Methods in org.hibernate.classic with parameters of type Session | |
|---|---|
boolean |
Lifecycle.onDelete(Session s)
Called when an entity is deleted. |
void |
Lifecycle.onLoad(Session s,
Serializable id)
Called after an entity is loaded. |
boolean |
Lifecycle.onSave(Session s)
Called when an entity is saved. |
boolean |
Lifecycle.onUpdate(Session s)
Called when an entity is passed to Session.update(). |
| Uses of Session in org.hibernate.context |
|---|
| Methods in org.hibernate.context with parameters of type Session | |
|---|---|
static void |
ThreadLocalSessionContext.bind(Session session)
Associates the given session with the current thread of execution. |
| Uses of Session in org.hibernate.criterion |
|---|
| Methods in org.hibernate.criterion with parameters of type Session | |
|---|---|
Criteria |
DetachedCriteria.getExecutableCriteria(Session session)
Get an executable instance of |
| Uses of Session in org.hibernate.ejb |
|---|
| Fields in org.hibernate.ejb declared as Session | |
|---|---|
protected Session |
EntityManagerImpl.session
|
| Methods in org.hibernate.ejb that return Session | |
|---|---|
protected Session |
EntityManagerImpl.getRawSession()
|
protected Session |
CurrentEntityManagerImpl.getRawSession()
Deprecated. |
protected abstract Session |
AbstractEntityManagerImpl.getRawSession()
Return a Session (even if the entity manager is closed). |
Session |
HibernateEntityManager.getSession()
Retrieve a reference to the Hibernate Session used by this EntityManager. |
Session |
EntityManagerImpl.getSession()
|
Session |
CurrentEntityManagerImpl.getSession()
Deprecated. |
abstract Session |
AbstractEntityManagerImpl.getSession()
return a Session |
| Uses of Session in org.hibernate.envers |
|---|
| Methods in org.hibernate.envers with parameters of type Session | |
|---|---|
static AuditReader |
AuditReaderFactory.get(Session session)
Create an audit reader associated with an open session. |
| Uses of Session in org.hibernate.envers.reader |
|---|
| Methods in org.hibernate.envers.reader that return Session | |
|---|---|
Session |
AuditReaderImplementor.getSession()
|
Session |
AuditReaderImpl.getSession()
|
| Constructors in org.hibernate.envers.reader with parameters of type Session | |
|---|---|
AuditReaderImpl(AuditConfiguration verCfg,
Session session,
SessionImplementor sessionImplementor)
|
|
| Uses of Session in org.hibernate.envers.revisioninfo |
|---|
| Methods in org.hibernate.envers.revisioninfo with parameters of type Session | |
|---|---|
Query |
RevisionInfoQueryCreator.getRevisionDateQuery(Session session,
Number revision)
|
Query |
RevisionInfoQueryCreator.getRevisionNumberForDateQuery(Session session,
Date date)
|
Query |
RevisionInfoQueryCreator.getRevisionQuery(Session session,
Number revision)
|
void |
RevisionInfoGenerator.saveRevisionData(Session session,
Object revisionData)
|
void |
DefaultRevisionInfoGenerator.saveRevisionData(Session session,
Object revisionData)
|
| Uses of Session in org.hibernate.envers.synchronization |
|---|
| Methods in org.hibernate.envers.synchronization with parameters of type Session | |
|---|---|
Object |
AuditProcess.getCurrentRevisionData(Session session,
boolean persist)
|
| Uses of Session in org.hibernate.envers.synchronization.work |
|---|
| Methods in org.hibernate.envers.synchronization.work with parameters of type Session | |
|---|---|
void |
PersistentCollectionChangeWorkUnit.perform(Session session,
Object revisionData)
|
void |
AuditWorkUnit.perform(Session session,
Object revisionData)
Perform this work unit in the given session. |
void |
AbstractAuditWorkUnit.perform(Session session,
Object revisionData)
|
void |
AuditWorkUnit.undo(Session session)
|
void |
AbstractAuditWorkUnit.undo(Session session)
|
| Uses of Session in org.hibernate.event |
|---|
| Subinterfaces of Session in org.hibernate.event | |
|---|---|
interface |
EventSource
|
| Uses of Session in org.hibernate.impl |
|---|
| Classes in org.hibernate.impl that implement Session | |
|---|---|
class |
SessionImpl
Concrete implementation of a Session, and also the central, organizing component of Hibernate's internal implementation. |
| Methods in org.hibernate.impl that return Session | |
|---|---|
Session |
SessionImpl.getSession(EntityMode entityMode)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||