com.pnpconsult.zeiterfassung.helper
Class SessionLocator

java.lang.Object
  extended bycom.pnpconsult.zeiterfassung.helper.SessionLocator

public class SessionLocator
extends java.lang.Object

Version:
$Id: SessionLocator.java,v 1.1 2004/06/24 20:54:18 powerpete Exp $
Author:
Moritz Petersen

Constructor Summary
SessionLocator()
           
 
Method Summary
static void closeSession()
           
static net.sf.hibernate.Session getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionLocator

public SessionLocator()
Method Detail

getSession

public static net.sf.hibernate.Session getSession()
                                           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


Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.