public class HibernateUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT_COLUMN_NAME |
static String |
debugLoadFromLocalXml |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeSession(org.hibernate.Session session) |
static void |
config(String dbEndpoint,
String scope) |
static void |
configGently(String dbEndpoint,
String scope) |
static String |
getCountColumnName() |
static org.hibernate.SessionFactory |
getSessionFactory() |
static org.hibernate.Session |
openSession() |
static org.hibernate.Session |
openSession(org.hibernate.SessionFactory sessionFactory) |
public static final String COUNT_COLUMN_NAME
public static String debugLoadFromLocalXml
public static org.hibernate.SessionFactory getSessionFactory()
public static String getCountColumnName()
public static void closeSession(org.hibernate.Session session)
public static org.hibernate.Session openSession()
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic static org.hibernate.Session openSession(org.hibernate.SessionFactory sessionFactory)
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionCopyright © 2017. All Rights Reserved.