edu.whoi.ursa.argoDatabase.hibernate
Class HibernateUtil

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.hibernate.HibernateUtil

public class HibernateUtil
extends java.lang.Object


Field Summary
private static org.hibernate.SessionFactory sessionFactory
           
 
Constructor Summary
HibernateUtil()
           
 
Method Summary
static org.hibernate.Session beginTransaction()
           
private static org.hibernate.SessionFactory buildSessionFactory()
           
static void callProcedure(java.lang.String procedure)
           
static org.hibernate.Session getCurrentSession()
           
static org.hibernate.SessionFactory getSessionFactory()
           
static java.lang.Object saveOrUpdate(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionFactory

private static final org.hibernate.SessionFactory sessionFactory
Constructor Detail

HibernateUtil

public HibernateUtil()
Method Detail

buildSessionFactory

private static org.hibernate.SessionFactory buildSessionFactory()

getSessionFactory

public static org.hibernate.SessionFactory getSessionFactory()

getCurrentSession

public static org.hibernate.Session getCurrentSession()

beginTransaction

public static org.hibernate.Session beginTransaction()

saveOrUpdate

public static java.lang.Object saveOrUpdate(java.lang.Object object)

callProcedure

public static void callProcedure(java.lang.String procedure)