open class SessionHolder : ResourceHolderSupport
Session holder, wrapping a Hibernate Session and a Hibernate Transaction. HibernateTransactionManager binds instances of this class to the thread, for a given SessionFactory.
Note: This is an SPI class, not intended to be used by applications.
Author
Juergen Hoeller
Since
4.2
See Also
HibernateTransactionManagerSessionFactoryUtils
SessionHolder(session: Session) |
open fun clear(): Unit |
|
open fun getPreviousFlushMode(): FlushMode |
|
open fun getSession(): Session |
|
open fun getTransaction(): Transaction |
|
open fun setPreviousFlushMode(previousFlushMode: FlushMode): Unit |
|
open fun setTransaction(transaction: Transaction): Unit |