asit.common
Class HibernateUtil
java.lang.Object
asit.common.HibernateUtil
- public class HibernateUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
public static final ThreadLocal session
HibernateUtil
public HibernateUtil()
hsqlCleanup
public static void hsqlCleanup(net.sf.hibernate.Session s)
currentSession
public static net.sf.hibernate.Session currentSession()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
closeSession
public static void closeSession()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
saveOrUpdate
public static void saveOrUpdate(Object object)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
saveOrUpdateCopy
public static Object saveOrUpdateCopy(Object object)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
delete
public static void delete(Object object)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.