|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.transaction.CMTTransactionFactory
Factory for CMTTransaction.
CMTTransaction| Nested Class Summary |
| Nested classes inherited from class org.hibernate.transaction.TransactionFactory |
TransactionFactory.Context |
| Constructor Summary | |
CMTTransactionFactory()
|
|
| Method Summary | |
boolean |
areCallbacksLocalToHibernateTransactions()
Are all transaction callbacks local to Hibernate Transactions? Or can the callbacks originate from some other source (e.g. |
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 |
isTransactionInProgress(JDBCContext jdbcContext,
TransactionFactory.Context transactionContext,
Transaction transaction)
Determine whether an underlying transaction is in progress. |
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 CMTTransactionFactory()
| Method Detail |
public ConnectionReleaseMode getDefaultReleaseMode()
TransactionFactory
getDefaultReleaseMode in interface TransactionFactorypublic void configure(Properties props) throws HibernateException
TransactionFactory
configure in interface TransactionFactoryprops -
HibernateExceptionpublic Transaction createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext) throws HibernateException
TransactionFactory
createTransaction in interface TransactionFactoryjdbcContext - The jdbc context to which the transaction belongstransactionContext - The contract regarding the context in which this transaction will operate.
HibernateExceptionpublic boolean isTransactionManagerRequired()
TransactionFactory
isTransactionManagerRequired in interface TransactionFactorypublic boolean areCallbacksLocalToHibernateTransactions()
TransactionFactory
areCallbacksLocalToHibernateTransactions in interface TransactionFactoryTransaction; false otherwise.public boolean isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)
TransactionFactory
isTransactionInProgress in interface TransactionFactoryjdbcContext - transactionContext - transaction -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||