palio.connectors
Class HibernatePalioSessionContext

java.lang.Object
  extended by palio.connectors.HibernatePalioSessionContext
All Implemented Interfaces:
java.io.Serializable, org.hibernate.context.CurrentSessionContext

public class HibernatePalioSessionContext
extends java.lang.Object
implements org.hibernate.context.CurrentSessionContext

Klasa obsługi kontekstu połączeń hibernate'a.

Author:
Grzegorz Tymiński (mailto:gtyminski@torn.com.pl)
See Also:
Serialized Form

Constructor Summary
HibernatePalioSessionContext()
           
 
Method Summary
 org.hibernate.classic.Session currentSession()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernatePalioSessionContext

public HibernatePalioSessionContext()
Method Detail

currentSession

public org.hibernate.classic.Session currentSession()
                                             throws org.hibernate.HibernateException
Specified by:
currentSession in interface org.hibernate.context.CurrentSessionContext
Throws:
org.hibernate.HibernateException