br.mia.test.model.dao
Class HibernateUtil

java.lang.Object
  extended by br.mia.test.model.dao.HibernateUtil

public class HibernateUtil
extends java.lang.Object


Constructor Summary
HibernateUtil()
           
 
Method Summary
static org.hibernate.Session getSession()
           
static org.hibernate.SessionFactory getSessionFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateUtil

public HibernateUtil()
Method Detail

getSession

public static org.hibernate.Session getSession()
                                        throws java.io.IOException
Throws:
java.io.IOException

getSessionFactory

public static org.hibernate.SessionFactory getSessionFactory()
                                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.