Supports synchronization with both Spring-managed JTA transactions (see {@link org.springframework.transaction.jta.JtaTransactionManager}) and non-Spring JTA transactions (i.e. plain JTA or EJB CMT), transparently providing transaction-scoped Hibernate Sessions. Note that for non-Spring JTA transactions, a JTA TransactionManagerLookup has to be specified in the Hibernate configuration.
Used internally by {@link HibernateTemplate}, {@link HibernateInterceptor}and {@link HibernateTransactionManager}. Can also be used directly in application code. @author Juergen Hoeller @since 1.2 @see #getSession @see #releaseSession @see HibernateTransactionManager @see org.springframework.transaction.jta.JtaTransactionManager @see org.springframework.transaction.support.TransactionSynchronizationManager
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|