org.dentaku.services.persistence.hibernate
Interface SessionProvider

All Known Implementing Classes:
ThreadLocalSessionProvider

public interface SessionProvider


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 net.sf.hibernate.Session getSession()
           
 void releaseSession()
           
 void resetSession()
           
 void rollback()
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

getSession

public net.sf.hibernate.Session getSession()
                                    throws PersistenceException
Throws:
PersistenceException

resetSession

public void resetSession()
                  throws PersistenceException
Throws:
PersistenceException

releaseSession

public void releaseSession()
                    throws PersistenceException
Throws:
PersistenceException

rollback

public void rollback()


Copyright © -2004 . All Rights Reserved.