org.hibernate.transaction
Class JOTMTransactionManagerLookup
java.lang.Object
org.hibernate.transaction.JOTMTransactionManagerLookup
- All Implemented Interfaces:
- TransactionManagerLookup
public class JOTMTransactionManagerLookup
- extends Object
- implements TransactionManagerLookup
TransactionManager lookup strategy for JOTM
- Author:
- Low Heng Sin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOTMTransactionManagerLookup
public JOTMTransactionManagerLookup()
getTransactionManager
public TransactionManager getTransactionManager(Properties props)
throws HibernateException
- Description copied from interface:
TransactionManagerLookup
- Obtain the JTA TransactionManager
- Specified by:
getTransactionManager
in interface TransactionManagerLookup
- Throws:
HibernateException
- See Also:
TransactionManagerLookup.getTransactionManager(Properties)
getUserTransactionName
public String getUserTransactionName()
- Description copied from interface:
TransactionManagerLookup
- Return the JNDI name of the JTA UserTransaction
or null (optional operation).
- Specified by:
getUserTransactionName
in interface TransactionManagerLookup