cocoon ProgessService and Hibernate

Hans-Heinrich Braun <[email protected]> Fri, 27 Mar 2015 14:01:38 +0000 (UTC)
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
    I am using cocoon 3.0 with Hibernate.To enable Lazy Loading I insert in web.xml <filter>        <filter-name>lazyLoadingFilter</filter-name>        <filter-class>org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter</filter-class>    <init-param><param-name>filter-class</param-name><param-value>org.springframework.orm.hibernate4.support.OpenSessionInViewFilter</param-value></init-param></filter>   <filter-mapping>        <filter-name>lazyLoadingFilter</filter-name>        <url-pattern>/*</url-pattern>    </filter-mapping>Which is Ok with a normal RestController.But with ProgressService I get still  the error
org.hibernate.LazyInitializationException: could not initialize proxy - no Session when I use Lazy Loading
Best regardsHeiner