com.redstarhackers.dal.hibernate3
Class DALTransaction

java.lang.Object
  extended bycom.redstarhackers.dal.hibernate3.DALTransaction
All Implemented Interfaces:
org.hibernate.Transaction

public class DALTransaction
extends java.lang.Object
implements org.hibernate.Transaction

TODO Class summary sentence. Class documentation.

Version:
$Revision: 2545 $
Author:
$Author: kostya $

Constructor Summary
DALTransaction(javax.transaction.Transaction tx, org.hibernate.jdbc.JDBCContext jdbcContext, org.hibernate.transaction.TransactionFactory.Context context)
           
 
Method Summary
 void commit()
           
 boolean isActive()
           
 void registerSynchronization(javax.transaction.Synchronization synchronization)
           
 void rollback()
           
 java.lang.String toString()
           
 boolean wasCommitted()
           
 boolean wasRolledBack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DALTransaction

public DALTransaction(javax.transaction.Transaction tx,
                      org.hibernate.jdbc.JDBCContext jdbcContext,
                      org.hibernate.transaction.TransactionFactory.Context context)
Method Detail

commit

public void commit()
            throws org.hibernate.HibernateException
Specified by:
commit in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

rollback

public void rollback()
              throws org.hibernate.HibernateException
Specified by:
rollback in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

wasRolledBack

public boolean wasRolledBack()
                      throws org.hibernate.HibernateException
Specified by:
wasRolledBack in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

wasCommitted

public boolean wasCommitted()
                     throws org.hibernate.HibernateException
Specified by:
wasCommitted in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

isActive

public boolean isActive()
                 throws org.hibernate.HibernateException
Specified by:
isActive in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

registerSynchronization

public void registerSynchronization(javax.transaction.Synchronization synchronization)
                             throws org.hibernate.HibernateException
Specified by:
registerSynchronization in interface org.hibernate.Transaction
Throws:
org.hibernate.HibernateException

toString

public java.lang.String toString()