クラス SpringJtaSessionContext
java.lang.ObjectSE
org.hibernate.context.spi.AbstractCurrentSessionContext
org.hibernate.context.internal.JTASessionContext
org.springframework.orm.hibernate5.SpringJtaSessionContext
- 実装されたすべてのインターフェース:
SerializableSE
,CurrentSessionContext
public class SpringJtaSessionContext
extends org.hibernate.context.internal.JTASessionContext
Hibernate の JTASessionContext の Spring 固有のサブクラス。
FlushMode.MANUAL
を読み取り専用トランザクションに設定します。- 導入:
- 4.2
- 作成者:
- Juergen Hoeller
- 関連事項:
ネストされたクラスのサマリー
クラス org.hibernate.context.internal.JTASessionContext から継承されたネストクラス / インターフェース
org.hibernate.context.internal.JTASessionContext.CleanupSync
コンストラクターの概要
コンストラクターメソッドのサマリー
クラス org.hibernate.context.internal.JTASessionContext から継承されたメソッド
currentSession, getConnectionReleaseMode, isAutoCloseEnabled, isAutoFlushEnabled
クラス org.hibernate.context.spi.AbstractCurrentSessionContext から継承されたメソッド
baseSessionBuilder, factory, validateExistingSession
コンストラクターの詳細
SpringJtaSessionContext
メソッドの詳細
buildOrObtainSession
- オーバーライド:
- クラス
org.hibernate.context.internal.JTASessionContext
のbuildOrObtainSession