Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » transaction » [javadoc | source]
org.hibernate.transaction
public class: WebSphereExtendedJTATransactionLookup [javadoc | source]
java.lang.Object
   org.hibernate.transaction.WebSphereExtendedJTATransactionLookup

All Implemented Interfaces:
    TransactionManagerLookup

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 Class Summary:
public static class  WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter   
Method from org.hibernate.transaction.WebSphereExtendedJTATransactionLookup Summary:
getTransactionIdentifier,   getTransactionManager,   getUserTransactionName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.transaction.WebSphereExtendedJTATransactionLookup Detail:
 public Object getTransactionIdentifier(Transaction transaction) 
    {@inheritDoc}
 public TransactionManager getTransactionManager(Properties props) 
    {@inheritDoc}
 public String getUserTransactionName() 
    {@inheritDoc}