com.interface21.orm.hibernate
Class HibernateTransactionObject

java.lang.Object
  |
  +--com.interface21.orm.hibernate.HibernateTransactionObject

public class HibernateTransactionObject
extends java.lang.Object

Hibernate transaction object, representing a SessionHolder. Used as transaction object by HibernateTransactionManager.

Instances of this class are the transaction objects that HibernateTransactionManager returns. They nest the thread- bound SessionHolder internally.

Since:
02.05.2003
Author:
Juergen Hoeller
See Also:
HibernateTransactionManager, SessionHolder

Constructor Summary
protected HibernateTransactionObject(SessionHolder sessionHolder, boolean newSessionHolder)
           
 
Method Summary
 java.lang.Integer getPreviousIsolationLevel()
           
 SessionHolder getSessionHolder()
           
 boolean isNewSessionHolder()
           
protected  void setPreviousIsolationLevel(java.lang.Integer previousIsolationLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateTransactionObject

protected HibernateTransactionObject(SessionHolder sessionHolder,
                                     boolean newSessionHolder)
Method Detail

isNewSessionHolder

public boolean isNewSessionHolder()

getSessionHolder

public SessionHolder getSessionHolder()

setPreviousIsolationLevel

protected void setPreviousIsolationLevel(java.lang.Integer previousIsolationLevel)

getPreviousIsolationLevel

public java.lang.Integer getPreviousIsolationLevel()


Rod Johnson and Spring contributors 2001-2003.