java.lang.Object | |
↳ | org.hibernate.transaction.WebSphereExtendedJTATransactionLookup |
TransactionManagerLookup implementation intended for use with WebSphere Application Server (WAS).
WAS, unlike every other app server on the planet, does not allow direct access to the JTS TransactionManager. Instead, for common transaction- related tasks users must utilize a proprietary API known as ExtendedJTATransaction. Even more unfortunate, the exact TransactionManagerLookup to use inside of WAS is highly dependent upon (1) WAS version as well as (2) the WAS container in which Hibernate will be utilized. WebSphereExtendedJTATransactionLookup is reported to work on WAS version 6 in any of the standard J2EE/JEE component containers.Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.transaction.TransactionManagerLookup
|
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. |
---|
Return the JNDI namespace of the JTA javax.transaction.UserTransaction for this platform or null; optional operation.