public class HibernateWebSessionFactory extends Object implements SqlSessionFactory
SqlSessionFactory for the Hibernate stack. This implementation is
sutable mainly for Web applications.
For more info please see the Tutorials.
| Modifier and Type | Field and Description |
|---|---|
private org.hibernate.SessionFactory |
sessionFactory
The Hibernate session factory.
|
| Constructor and Description |
|---|
HibernateWebSessionFactory(org.hibernate.SessionFactory sessionFactory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SqlSession |
getSqlSession() |
private org.hibernate.SessionFactory sessionFactory
public HibernateWebSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory - the Hibernate session factorypublic SqlSession getSqlSession()
getSqlSession in interface SqlSessionFactoryCopyright © 2017. All rights reserved.