| java.lang.Object com.salmonllc.hibernate.HibernateSessionFactory
HibernateSessionFactory | public class HibernateSessionFactory implements ServletServiceListener(Code) | | A class that allows you to create cached versions of the hibernate session and session factory object
This uses two properties in the SOFIA properties file to configure hibernate
HibernateFactoryClass is the class name of a subclass of this factory. This is useful if you want
to add your own HibernateFactory funcionality to SOFIA
HibernateConfigFile is the directory and path name for the hibernate configuration file. If
the property is not specified, SOFIA will look for /WEB-INF/properties/hibernate/Hibernate.cfg.xml under your
web application to configure hibernate.
|
configureFactory | protected SessionFactory configureFactory() throws HibernateException(Code) | | Subclasses can override to provide custom Hibernate configuration logic
|
getSession | public static Session getSession() throws HibernateException(Code) | | Returns the shared hibernate Session object for this page request.
|
getSessionFactory | public static SessionFactory getSessionFactory() throws HibernateException(Code) | | Returns the HibernateSessionFactory for this web application
|
|
|