|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UsesOrderedConfiguration(value=HibernateConfigurer.class) public interface HibernateSessionSource
Responsible for creating a Hibernate session as needed. Internally, is responsible for Hibernate Configuration, resulting in a SessionFactory.
| Method Summary | |
|---|---|
org.hibernate.Session |
create()
Creates a new session using the SessionFactory created at service startup. |
org.hibernate.cfg.Configuration |
getConfiguration()
Returns the final configuration used to create the SessionFactory. |
org.hibernate.SessionFactory |
getSessionFactory()
Returns the SessionFactory from which Hibernate sessions are created. |
| Method Detail |
|---|
org.hibernate.Session create()
SessionFactory created at service startup.
org.hibernate.SessionFactory getSessionFactory()
org.hibernate.cfg.Configuration getConfiguration()
SessionFactory. The configuration is immutable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||