com.redstarhackers.dal.hibernate3
Class DALTransaction
java.lang.Object
com.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DALTransaction
public DALTransaction(javax.transaction.Transaction tx,
org.hibernate.jdbc.JDBCContext jdbcContext,
org.hibernate.transaction.TransactionFactory.Context context)
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()