Package com.xpn.xwiki.store.hibernate
Interface HibernateSessionFactory
-
- All Known Implementing Classes:
DefaultHibernateSessionFactory
@Role @Deprecated public interface HibernateSessionFactory
Deprecated.since 11.5RC1Class used by Hibernate stores for obtain sessions. Simple holder for real sessionFactory and configuration for now.- Since:
- 1.6M1
- Version:
- $Id: a101a296308fb26de90a361a95c8e341603b9c72 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.hibernate.cfg.Configuration
getConfiguration()
Deprecated.org.hibernate.SessionFactory
getSessionFactory()
Deprecated.void
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Deprecated.do nothing since 11.5RC1
-
-
-
Method Detail
-
getConfiguration
org.hibernate.cfg.Configuration getConfiguration()
Deprecated.- Returns:
- Hibernate Configuration object
-
getSessionFactory
org.hibernate.SessionFactory getSessionFactory()
Deprecated.- Returns:
- Real Hibernate session factory
-
setSessionFactory
void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Deprecated.do nothing since 11.5RC1
-
-