I use Struts 2.1.6, Spring 2.5.6 and Hibernate 3.2, and the 
OpenSessionExecuteAndWaitInterceptor is at 
http://cwiki.apache.org/confluence/display/WW/HibernateAndSpringEnabledExecuteAndWaitInterceptor
 which is still use Hibernate 2:(



http://charles-xie.spaces.live.com



 

> Date: Tue, 30 Jun 2009 02:02:05 -0400
> From: d...@newfield.org
> To: user@struts.apache.org
> Subject: Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter
> 
> XieCharles wrote:
> > The hibernateandspringenabledexecuteandwaitinterceptor is just the
> > OpenSessionExecuteAndWaitInterceptor I used.
> 
> Which is exactly what you asked for, right?
> 
> BTW, make sure that the version you're using doesn't have the startup 
> race condition. When I was searching to find the URL with which to 
> respond, I found that there are several places still with unpatched 
> versions. (look for a .notify() call -- there's a chance that the 
> background process can be started before its constructor is finished.)
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

_________________________________________________________________
打工,挣钱,买房子,快来MClub一起”金屋藏娇”!
http://club.msn.cn/?from=10

Reply via email to