org.hibernate.ejb.transaction
Class JoinableCMTTransaction
java.lang.Object
   org.hibernate.transaction.CMTTransaction
org.hibernate.transaction.CMTTransaction
       org.hibernate.ejb.transaction.JoinableCMTTransaction
org.hibernate.ejb.transaction.JoinableCMTTransaction
- All Implemented Interfaces: 
- Transaction
- public class JoinableCMTTransaction 
- extends CMTTransaction
Implements a joinable transaction. Until the transaction is marked for joined, the TM.isTransactionInProgress()
 must return false
- Author:
- Emmanuel Bernard
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JoinableCMTTransaction
public JoinableCMTTransaction(JDBCContext jdbcContext,
                              TransactionFactory.Context transactionContext)
isTransactionInProgress
public boolean isTransactionInProgress(JDBCContext jdbcContext,
                                       TransactionFactory.Context transactionContext)
- 
 
begin
public void begin()
           throws HibernateException
- Description copied from class: CMTTransaction
- Begin a new transaction.
 
- 
- Specified by:
- beginin interface- Transaction
- Overrides:
- beginin class- CMTTransaction
 
- 
- Throws:
- HibernateException
 
commit
public void commit()
            throws HibernateException
- Description copied from class: CMTTransaction
- Flush the associated Session and end the unit of work (unless
 we are in FlushMode.MANUAL.
 
 This method will commit the underlying transaction if and only
 if the underlying transaction was initiated by this object.
 
- 
- Specified by:
- commitin interface- Transaction
- Overrides:
- commitin class- CMTTransaction
 
- 
- Throws:
- HibernateException
 
getStatus
public JoinableCMTTransaction.JoinStatus getStatus()
- 
 
resetStatus
public void resetStatus()
- 
 
markForJoined
public void markForJoined()
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.