Class SpringJtaSessionContext
java.lang.Object
org.hibernate.context.spi.AbstractCurrentSessionContext
org.hibernate.context.internal.JTASessionContext
org.springframework.orm.hibernate5.SpringJtaSessionContext
- All Implemented Interfaces:
- Serializable,- CurrentSessionContext
public class SpringJtaSessionContext
extends org.hibernate.context.internal.JTASessionContext
Spring-specific subclass of Hibernate's JTASessionContext,
 setting 
FlushMode.MANUAL for read-only transactions.- Since:
- 4.2
- Author:
- Juergen Hoeller
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.hibernate.context.internal.JTASessionContextorg.hibernate.context.internal.JTASessionContext.CleanupSync
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.hibernate.context.internal.JTASessionContextcurrentSession, getConnectionReleaseMode, isAutoCloseEnabled, isAutoFlushEnabledMethods inherited from class org.hibernate.context.spi.AbstractCurrentSessionContextbaseSessionBuilder, factory, validateExistingSession
- 
Constructor Details- 
SpringJtaSessionContext
 
- 
- 
Method Details- 
buildOrObtainSession- Overrides:
- buildOrObtainSessionin class- org.hibernate.context.internal.JTASessionContext
 
 
-