org.granite.tide.hibernate4
Class HibernateTransactionManager

java.lang.Object
  extended by org.granite.tide.hibernate4.HibernateTransactionManager
All Implemented Interfaces:
TideTransactionManager

public class HibernateTransactionManager
extends Object
implements TideTransactionManager

Responsible for attaching a session with the persistence mangager

Author:
cingram

Constructor Summary
HibernateTransactionManager()
           
 
Method Summary
 Object begin(TideTransactionPersistenceManager pm)
           
 void commit(Object tx)
           
 void rollback(Object tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateTransactionManager

public HibernateTransactionManager()
Method Detail

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