类 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

        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