net.sf.easyweb4j.repository.orm.hibernate
Class HibernateSessionProvider

java.lang.Object
  extended by net.sf.easyweb4j.repository.orm.hibernate.HibernateSessionProvider
All Implemented Interfaces:
Serializable

public class HibernateSessionProvider
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
HibernateSessionProvider(org.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
 void closeFactory()
           
 void commitTransaction()
           
 void ensureTransaction()
           
 org.hibernate.Session getCurrentSession()
           
 void markAsReadOnly()
           
 void rollbackTransaction()
           
 void unbindSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSessionProvider

public HibernateSessionProvider(org.hibernate.SessionFactory sessionFactory)
Method Detail

unbindSession

public void unbindSession()

getCurrentSession

public org.hibernate.Session getCurrentSession()

ensureTransaction

public void ensureTransaction()

commitTransaction

public void commitTransaction()

rollbackTransaction

public void rollbackTransaction()

closeFactory

public void closeFactory()

markAsReadOnly

public void markAsReadOnly()


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.