com.ibatis.dao.engine.transaction.hibernate
Class HibernateDaoTransaction

java.lang.Object
  extended bycom.ibatis.dao.engine.transaction.hibernate.HibernateDaoTransaction
All Implemented Interfaces:
ConnectionDaoTransaction, DaoTransaction

public class HibernateDaoTransaction
extends java.lang.Object
implements ConnectionDaoTransaction


Constructor Summary
HibernateDaoTransaction(net.sf.hibernate.SessionFactory factory)
           
 
Method Summary
 void commit()
           
 java.sql.Connection getConnection()
           
 net.sf.hibernate.Session getSession()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateDaoTransaction

public HibernateDaoTransaction(net.sf.hibernate.SessionFactory factory)
Method Detail

commit

public void commit()

rollback

public void rollback()

getSession

public net.sf.hibernate.Session getSession()

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ConnectionDaoTransaction