Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-30 Thread Dale Newfield
XieCharles wrote: I use [...] Hibernate 3.2, and the OpenSessionExecuteAndWaitInterceptor [...] use[s] Hibernate 2:( The same basic design works with H3. Have you encountered some specific difficulty in updating it to work with H3? -Dale

RE: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-30 Thread XieCharles
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 > > OpenSessionExecuteAndWait

Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread Dale Newfield
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

RE: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread XieCharles
The hibernateandspringenabledexecuteandwaitinterceptor is just the OpenSessionExecuteAndWaitInterceptor I used. http://charles-xie.spaces.live.com > Date: Mon, 29 Jun 2009 13:56:09 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: OpenSessionExecu

Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread Dale Newfield
XieCharles wrote: > the OpenSessionExecuteAndWaitInterceptor cannot work with the > OpenSessionInViewFilter well. Is there any piece of code about how to > use these two components correctly? http://cwiki.apache.org/WW/hibernateandspringenabledexecuteandwaitinterceptor.html -Dale --

OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread XieCharles
The Spring's OpenSessionInViewFilter has already applied in my struts2 project, and I am about to use the ExecuteAndWaitInterceptor, so I put the OpenSessionExecuteAndWaitInterceptor which extends the struts' original ExecuteAndWaitInterceptor at last of the interceptor stack(see Struts2 cookbo