public final class TransactionManagerLookupFactory
extends java.lang.Object
TransactionManagerLookup instances.| Modifier and Type | Method and Description |
|---|---|
static javax.transaction.TransactionManager |
getTransactionManager(java.util.Properties props)
Convenience method for locating the JTA
TransactionManager from the
given platform config. |
static TransactionManagerLookup |
getTransactionManagerLookup(java.util.Properties props)
Generate the appropriate
TransactionManagerLookup given the
config settings being passed. |
public static javax.transaction.TransactionManager getTransactionManager(java.util.Properties props)
throws HibernateException
TransactionManager from the
given platform config.
Same as calling getTransactionManager(java.util.Properties).getTransactionManager( props )props - The properties representing the platform configTransactionManagerHibernateException - Indicates a problem either (a) generatng the
TransactionManagerLookup or (b) asking it to locate the TransactionManager.public static TransactionManagerLookup getTransactionManagerLookup(java.util.Properties props) throws HibernateException
TransactionManagerLookup given the
config settings being passed.props - The config settingsTransactionManagerLookupHibernateException - Indicates problem generating TransactionManagerLookupCopyright © 2013. All Rights Reserved.