public class SpringJtaSessionContext extends JTASessionContext
FlushMode.MANUAL
for read-only transactions.JTASessionContext.CleanupSync
Constructor and Description |
---|
SpringJtaSessionContext(SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
protected Session |
buildOrObtainSession() |
currentSession, getConnectionReleaseMode, isAutoCloseEnabled, isAutoFlushEnabled
baseSessionBuilder, factory, validateExistingSession
public SpringJtaSessionContext(SessionFactoryImplementor factory)
protected Session buildOrObtainSession()
buildOrObtainSession
in class JTASessionContext