| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.hibernate.transaction.TransactionManagerLookupFactorypublic final class TransactionManagerLookupFactoryextends java.lang.ObjectTransactionManagerLookup instances.
Method Summary | |
static TransactionManager |
|
static TransactionManagerLookup |
|
public static TransactionManager getTransactionManager(Properties props)
throws HibernateExceptionConvenience method for locating the JTATransactionManagerfrom the given platform config. Same as callinggetTransactionManager(Properties).getTransactionManager( props )
- Parameters:
props- The properties representing the platform config
- Returns:
- The located
TransactionManager
- Throws:
HibernateException- Indicates a problem either (a) generatng theTransactionManagerLookupor (b) asking it to locate theTransactionManager.
public static TransactionManagerLookup getTransactionManagerLookup(Properties props) throws HibernateException
Generate the appropriateTransactionManagerLookupgiven the config settings being passed.
- Parameters:
props- The config settings
- Returns:
- The appropriate
TransactionManagerLookup
- Throws:
HibernateException- Indicates problem generatingTransactionManagerLookup