|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HibernateControl
| Nested Class Summary | |
|---|---|
static interface |
HibernateControl.HibernateInstance
|
| Method Summary | |
|---|---|
void |
closeSession()
Close the session for the current Thread. |
java.lang.String |
getConfigurationLocation()
Override this method to provide logic on how to get the Hibernate configuration file. |
java.lang.String |
getHibernateInstance()
The instance of hibernate that you want this control to use. |
net.sf.hibernate.Session |
getSession()
Return the session that is currently associated with this Thread. |
net.sf.hibernate.SessionFactory |
getSessionFactory()
Get the Hibernate SessionFactory. |
| Method Detail |
|---|
net.sf.hibernate.SessionFactory getSessionFactory()
SessionFactory.
net.sf.hibernate.Session getSession()
throws net.sf.hibernate.HibernateException
net.sf.hibernate.HibernateException
void closeSession()
throws net.sf.hibernate.HibernateException
net.sf.hibernate.HibernateExceptionjava.lang.String getConfigurationLocation()
java.lang.String getHibernateInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||