Aug 3rd, 2006, 07:49 AM
openSessionInView problem in portlet action phase
I use PortletOpenSessionInViewInterceptor in render phase correctly with spring mvc.
But I get error "Nested Exception is org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed" in action phase.
Did I miss anything or there is a bug?
Dec 18th, 2008, 12:13 AM
Set the applyWebRequestInterceptorsToRenderPhaseOnly property
I know this post is a bit old but the issue can be fixed by setting the applyWebRequestInterceptorsToRenderPhaseOnly property to false of the AbstractHandlerMapping subclasses, i.e.
- org.springframework.web.portlet.handler.ParameterH andlerMapping