com.fullspan.kat.db
Class KatDbSessContext

java.lang.Object
  extended bycom.fullspan.kat.db.KatDbSessContext

public class KatDbSessContext
extends java.lang.Object

Author:
Mitch Stuart

Constructor Summary
KatDbSessContext(net.sf.hibernate.Session session)
           
 
Method Summary
 void close()
           
 void commit()
           
 net.sf.hibernate.Session getSession()
           
 net.sf.hibernate.Transaction getTransaction()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KatDbSessContext

public KatDbSessContext(net.sf.hibernate.Session session)
Method Detail

getSession

public net.sf.hibernate.Session getSession()

getTransaction

public net.sf.hibernate.Transaction getTransaction()

commit

public void commit()

rollback

public void rollback()

close

public void close()