com.friendshipsystems.fsshresourcemanager
Class FHibernateUtil
java.lang.Object
com.friendshipsystems.fsshresourcemanager.FHibernateUtil
public class FHibernateUtil
- extends java.lang.Object
The FHibernateUtil encapsulates the database access provided by Hibernate. It allows thread
safe access to Hibernate functionality.
- Author:
- bergmanna
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FHibernateUtil
public FHibernateUtil()
instance
public static FHibernateUtil instance()
cleanupThreadLocal
public static void cleanupThreadLocal()
tearDown
public static void tearDown()
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
getSession
public org.hibernate.Session getSession()
startTransaction
public java.lang.Boolean startTransaction()
commit
public java.lang.Boolean commit()
rollBack
public java.lang.Boolean rollBack()