-->
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.  [ 1 post ] 
Author Message
 Post subject: how to use Open Session In View w/EJB3
PostPosted: Fri Apr 28, 2006 4:42 am 
Regular
Regular

Joined: Thu Sep 16, 2004 4:56 pm
Posts: 80
I tried replacing the CaveatEmptor HibernateThreadExtendedFilter with EntityManagers instead of Sessions so I could just use EJB3. I ran into a problem in that it is trying to pass a EntityManager to the method

ThreadLocalSessionContext.bind(Session session);

I then look for a similar context in EJB3 javadoc, but can't find one. How does one do "Open Session In View" pattern with EJB3.

thanks,
dean


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

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.