|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.transaction.JTATransactionFactory
Factory for JTATransaction.
JTATransaction
Nested Class Summary |
Nested classes inherited from class org.hibernate.transaction.TransactionFactory |
TransactionFactory.Context |
Constructor Summary | |
JTATransactionFactory()
|
Method Summary | |
boolean |
areCallbacksLocalToHibernateTransactions()
|
void |
configure(Properties props)
Configure from the given properties. |
Transaction |
createTransaction(JDBCContext jdbcContext,
TransactionFactory.Context transactionContext)
Begin a transaction and return the associated Transaction instance. |
ConnectionReleaseMode |
getDefaultReleaseMode()
Get the default connection release mode |
boolean |
isTransactionManagerRequired()
Do we require access to the JTA TransactionManager for this strategy? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JTATransactionFactory()
Method Detail |
public void configure(Properties props) throws HibernateException
TransactionFactory
configure
in interface TransactionFactory
props
-
HibernateException
public Transaction createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext) throws HibernateException
TransactionFactory
createTransaction
in interface TransactionFactory
jdbcContext
- The jdbc context to which the transaction belongstransactionContext
- The contract regarding the context in which this transaction will operate.
HibernateException
public ConnectionReleaseMode getDefaultReleaseMode()
TransactionFactory
getDefaultReleaseMode
in interface TransactionFactory
public boolean isTransactionManagerRequired()
TransactionFactory
isTransactionManagerRequired
in interface TransactionFactory
public boolean areCallbacksLocalToHibernateTransactions()
areCallbacksLocalToHibernateTransactions
in interface TransactionFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |