|
spring-orm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.context.spi.AbstractCurrentSessionContext
org.hibernate.context.internal.JTASessionContext
org.springframework.orm.hibernate4.SpringJtaSessionContext
public class SpringJtaSessionContext
Spring-specific subclass of Hibernate's JTASessionContext,
setting FlushMode.MANUAL
for read-only transactions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.hibernate.context.internal.JTASessionContext |
---|
org.hibernate.context.internal.JTASessionContext.CleanupSynch |
Constructor Summary | |
---|---|
SpringJtaSessionContext(org.hibernate.engine.spi.SessionFactoryImplementor factory)
|
Method Summary | |
---|---|
protected org.hibernate.Session |
buildOrObtainSession()
|
Methods inherited from class org.hibernate.context.internal.JTASessionContext |
---|
currentSession, getConnectionReleaseMode, isAutoCloseEnabled, isAutoFlushEnabled |
Methods inherited from class org.hibernate.context.spi.AbstractCurrentSessionContext |
---|
baseSessionBuilder, factory, validateExistingSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringJtaSessionContext(org.hibernate.engine.spi.SessionFactoryImplementor factory)
Method Detail |
---|
protected org.hibernate.Session buildOrObtainSession()
buildOrObtainSession
in class org.hibernate.context.internal.JTASessionContext
|
spring-orm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |