You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by bmoraillon <be...@region-bretagne.fr> on 2008/01/10 15:32:23 UTC

executeAndWait interceptor hibernate session closed

Hi,
How can i open hibernate session with executeAndWait interceptor ?

In fact OpenSessionInViewFiltered is not called before and i get
a session closed error...

Thanks in advance,
BenoƮt.
-- 
View this message in context: http://www.nabble.com/executeAndWait-interceptor-hibernate-session-closed-tp14734908p14734908.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: executeAndWait interceptor hibernate session closed

Posted by Laurie Harper <la...@holoweb.net>.
bmoraillon wrote:
> Hi,
> How can i open hibernate session with executeAndWait interceptor ?
> 
> In fact OpenSessionInViewFiltered is not called before and i get
> a session closed error...

Filters execute in the order the filter-mapping elements appear in your 
web.xml. Make sure the mapping for the open-session-in-view filter comes 
first.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org