org.springframework.orm.hibernate4
Class SpringJtaSessionContext

java.lang.Object
  extended by JTASessionContext
      extended by org.springframework.orm.hibernate4.SpringJtaSessionContext

public class SpringJtaSessionContext
extends JTASessionContext

Spring-specific subclass of Hibernate's JTASessionContext, setting FlushMode.MANUAL for read-only transactions.

Since:
3.1
Author:
Juergen Hoeller

Constructor Summary
SpringJtaSessionContext(SessionFactoryImplementor factory)
           
 
Method Summary
protected  Session buildOrObtainSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringJtaSessionContext

public SpringJtaSessionContext(SessionFactoryImplementor factory)
Method Detail

buildOrObtainSession

protected Session buildOrObtainSession()