it.eng.spagobi.commons.utilities
Class HibernateUtil

java.lang.Object
  extended by it.eng.spagobi.commons.utilities.HibernateUtil

public class HibernateUtil
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger logger
           
 
Constructor Summary
HibernateUtil()
           
 
Method Summary
static org.hibernate.Session currentSession()
          Current session.
static java.sql.Connection getConnection(org.hibernate.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static transient org.apache.log4j.Logger logger
Constructor Detail

HibernateUtil

public HibernateUtil()
Method Detail

currentSession

public static org.hibernate.Session currentSession()
Current session.

Returns:
the session

getConnection

public static java.sql.Connection getConnection(org.hibernate.Session session)