public class SessionFactoryUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.hibernate.SessionFactory |
sessionFactory |
Constructor and Description |
---|
SessionFactoryUtil() |
Modifier and Type | Method and Description |
---|---|
private static org.hibernate.SessionFactory |
buildSessionFactory()
Method creating session factory to all DAOs
|
static org.hibernate.SessionFactory |
getSessionFactory()
Method providing session factory to all DAOs
|
private static org.hibernate.SessionFactory buildSessionFactory()
public static org.hibernate.SessionFactory getSessionFactory()