org.gcube.data.analysis.statisticalmanager.persistence
Class HibernateManager

java.lang.Object
  extended by org.gcube.data.analysis.statisticalmanager.persistence.HibernateManager

public class HibernateManager
extends Object


Constructor Summary
HibernateManager()
           
 
Method Summary
static void buildSessionFactory(String url, String userName, String password)
           
static void closeSession(org.hibernate.Session session)
           
static org.hibernate.SessionFactory getSessionFactory()
           
static void roolbackTransaction(org.hibernate.Transaction t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateManager

public HibernateManager()
Method Detail

buildSessionFactory

public static void buildSessionFactory(String url,
                                       String userName,
                                       String password)

getSessionFactory

public static org.hibernate.SessionFactory getSessionFactory()

closeSession

public static void closeSession(org.hibernate.Session session)

roolbackTransaction

public static void roolbackTransaction(org.hibernate.Transaction t)


Copyright © 2012. All Rights Reserved.