Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.transaction.TransactionManagerLookupFactory
public final class TransactionManagerLookupFactory
extends java.lang.Object
TransactionManagerLookup
instances.
Method Summary | |
static TransactionManager |
|
static TransactionManagerLookup |
|
public static TransactionManager getTransactionManager(Properties props) throws HibernateException
Convenience method for locating the JTATransactionManager
from 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 theTransactionManagerLookup
or (b) asking it to locate theTransactionManager
.
public static TransactionManagerLookup getTransactionManagerLookup(Properties props) throws HibernateException
Generate the appropriateTransactionManagerLookup
given the config settings being passed.
- Parameters:
props
- The config settings
- Returns:
- The appropriate
TransactionManagerLookup
- Throws:
HibernateException
- Indicates problem generatingTransactionManagerLookup