类 SessionHolder

java.lang.Object
org.springframework.transaction.support.ResourceHolderSupport
org.beangle.orm.hibernate.internal.SessionHolder
所有已实现的接口:
org.springframework.transaction.support.ResourceHolder

public class SessionHolder extends org.springframework.transaction.support.ResourceHolderSupport
版本:
$Id: SessionHolder.java Feb 27, 2012 10:24:03 PM chaostone $
作者:
chaostone
  • 构造器概要

    构造器
    构造器
    说明
    SessionHolder(org.hibernate.Session session)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
     
    org.hibernate.FlushMode
     
    org.hibernate.Session
     
    org.hibernate.Transaction
     
    void
    setPreviousFlushMode(org.hibernate.FlushMode previousFlushMode)
     
    void
    setTransaction(org.hibernate.Transaction transaction)
     

    从类继承的方法 org.springframework.transaction.support.ResourceHolderSupport

    getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • SessionHolder

      public SessionHolder(org.hibernate.Session session)
  • 方法详细资料

    • getSession

      public org.hibernate.Session getSession()
    • setTransaction

      public void setTransaction(org.hibernate.Transaction transaction)
    • getTransaction

      public org.hibernate.Transaction getTransaction()
    • setPreviousFlushMode

      public void setPreviousFlushMode(org.hibernate.FlushMode previousFlushMode)
    • getPreviousFlushMode

      public org.hibernate.FlushMode getPreviousFlushMode()
    • clear

      public void clear()
      覆盖:
      clear 在类中 org.springframework.transaction.support.ResourceHolderSupport