is "thread" a class?

if not, you should either locate or implement a class, that can supply a
current context based on thread.


On Tue, Apr 21, 2009 at 2:44 PM, graphicsxp <[email protected]>wrote:

>
> I'm getting this exception:
>
> No CurrentSessionContext configured (set the property
> current_session_context_class)
>
> when doing : mySessionFactory.GetCurrentSession();
>
> In my hibernate.cfg.xml I've added the property :
>
>   <property name="current_session_context_class">thread</property>
>
> But I still get the exception.... I there something I've missed ?
>
> Thanks
> >
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to