|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j2biz.blogunity.util.HibernateUtil
Constructor Summary | |
HibernateUtil()
|
Method Summary | |
static void |
beginTransaction()
Reads current active hibernate-session and begins new transaction, if no transaction already exists. |
static void |
closeSession()
Closes current hibernate session, if not null. |
static void |
commitTransaction()
Commits active transaction. |
static Session |
getSession()
|
static void |
rollbackTransaction()
Rollbacks active database transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HibernateUtil()
Method Detail |
public static Session getSession()
public static void closeSession()
public static void beginTransaction()
public static void commitTransaction()
public static void rollbackTransaction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |