-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Using 3.1, ThreadLocal and EJBs
PostPosted: Wed Jun 29, 2005 9:14 am 
Beginner
Beginner

Joined: Wed Sep 17, 2003 10:43 am
Posts: 48
Hibernate version:
3.1


Hello,

From what i can see, session management is handled by the container on hibernate 3.x. My question is, how does that impact the thread local pattern as we used it in 2.1? Do we still have to explicitly close a threadlocal session explicitly (counting open/close calls) or is the almighty container also responsible for this? I really like not passing sessions around between EJBs/DAOs, but i'm not sure about how to use the threadlocal from my business methods in 3.x.

Thanks,

Manos


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 11:27 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Did you realize some people put a lot of effort into the documentation for H3 as well?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.