org.hibernate.transaction.TransactionManagerLookup |
Contract for locating the JTA TransactionManager on given platform.
NOTE: this contract has expanded over time, and basically is a platform abstraction contract for JTA-related information.Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
| |||||||||||
Obtain the JTA TransactionManager.
| |||||||||||
Return the JNDI namespace of the JTA
javax.transaction.UserTransaction for this platform or null;
optional operation.
|
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
Generally speaking the transaction itself will be returned here. This method was added specifically for use in WebSphere and other unfriendly JEE containers (although WebSphere is still the only known such brain-dead, sales-driven impl).transaction | The transaction to be identified. |
---|
Obtain the JTA TransactionManager.
props | The configuration properties. |
---|
HibernateException | Indicates problem locating TransactionManager. |
---|
Return the JNDI namespace of the JTA javax.transaction.UserTransaction for this platform or null; optional operation.