org.granite.tide.hibernate
Class HibernateTransactionManager
java.lang.Object
org.granite.tide.hibernate.HibernateTransactionManager
- All Implemented Interfaces:
- TideTransactionManager
public class HibernateTransactionManager
- extends Object
- implements TideTransactionManager
Responsible for attaching a session with the persistence mangager
- Author:
- cingram
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateTransactionManager
public HibernateTransactionManager()
begin
public Object begin(TideTransactionPersistenceManager pm)
- Specified by:
begin in interface TideTransactionManager
commit
public void commit(Object tx)
throws Exception
- Specified by:
commit in interface TideTransactionManager
- Throws:
Exception
rollback
public void rollback(Object tx)
- Specified by:
rollback in interface TideTransactionManager