org.jeinnov.jeitime.utils
Class HibernateUtil
java.lang.Object
org.jeinnov.jeitime.utils.HibernateUtil
public class HibernateUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionFactory
public static org.hibernate.SessionFactory sessionFactory
configuration
public static org.hibernate.cfg.AnnotationConfiguration configuration
session
public static final java.lang.ThreadLocal session
HibernateUtil
public HibernateUtil()
getSessionFactory
public static org.hibernate.SessionFactory getSessionFactory()
throws org.hibernate.HibernateException
- Throws:
org.hibernate.HibernateException
getConfiguration
public static org.hibernate.cfg.AnnotationConfiguration getConfiguration()
getProperties
public static java.util.Properties getProperties()
Copyright © 2011. All Rights Reserved.