public interface HibernateConnectable
Modifier and Type | Method and Description |
---|---|
org.hibernate.Session |
getSession()
Zwraca sesję połączenia z bazą danych.
|
org.hibernate.Session |
getSession(org.hibernate.EntityMode entityMode) |
org.hibernate.SessionFactory |
getSessionFactory() |
void |
putSession(org.hibernate.Session session) |
org.hibernate.Session getSession() throws PalioException
PalioException
- Wystąpił problem z połączenie do bazy, lub nie można otworzyć
sesji.org.hibernate.Session getSession(org.hibernate.EntityMode entityMode) throws PalioException
entityMode
- PalioException
void putSession(org.hibernate.Session session)
session
- Sesja połączenia z DB.org.hibernate.SessionFactory getSessionFactory()