类 SpringJtaSessionContext
- java.lang.Object
- org.hibernate.context.spi.AbstractCurrentSessionContext
- org.hibernate.context.internal.JTASessionContext
- org.springframework.orm.hibernate4.SpringJtaSessionContext
- 所有已实现的接口:
Serializable
,CurrentSessionContext
public class SpringJtaSessionContext extends JTASessionContext
Spring-specific subclass of Hibernate's JTASessionContext, settingFlushMode.MANUAL
for read-only transactions.- 从以下版本开始:
- 3.1
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
嵌套类概要
从类继承的嵌套类/接口 org.hibernate.context.internal.JTASessionContext
JTASessionContext.CleanupSync
构造器概要
构造器 构造器 说明 SpringJtaSessionContext(SessionFactoryImplementor factory)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected Session
buildOrObtainSession()
从类继承的方法 org.hibernate.context.internal.JTASessionContext
currentSession, getConnectionReleaseMode, isAutoCloseEnabled, isAutoFlushEnabled
从类继承的方法 org.hibernate.context.spi.AbstractCurrentSessionContext
baseSessionBuilder, factory, validateExistingSession
构造器详细资料
SpringJtaSessionContext
public SpringJtaSessionContext(SessionFactoryImplementor factory)
方法详细资料
buildOrObtainSession
protected Session buildOrObtainSession()