org.hibernate.transaction
Class CMTTransactionFactory
java.lang.Object
org.hibernate.transaction.CMTTransactionFactory
- TransactionFactory
public class CMTTransactionFactory
extends java.lang.Object
areCallbacksLocalToHibernateTransactions
public boolean areCallbacksLocalToHibernateTransactions()
Are all transaction callbacks local to Hibernate Transactions?
Or can the callbacks originate from some other source (e.g. a JTA
Synchronization).
- areCallbacksLocalToHibernateTransactions in interface TransactionFactory
- true if callbacks only ever originate from the Hibernate
Transaction
; false otherwise.
isTransactionInProgress
public boolean isTransactionInProgress(JDBCContext jdbcContext,
Context transactionContext,
Transaction transaction)
isTransactionManagerRequired
public boolean isTransactionManagerRequired()
Do we require access to the JTA TransactionManager for
this strategy?
- isTransactionManagerRequired in interface TransactionFactory
- True if this strategy requires access to the JTA TransactionManager;
false otherwise.