1. JPA entity serialization requires entity manager, lazy loading should not be an issue stackoverflow.comI am somehow getting a "Session is closed" exception. When serializing an a JPA2 entity backed by hibernate for JSON. I could understand if lazy loading were involved but there are no ... |
2. Struts2 Portlet and Hibernate lazy-loading struts.1045723.n5.nabble.comHi, Since portlets cannot use servlet session filters like the Spring OpenSessionInViewFilter, what is the recommended approach to the Hibernate lazy-load issue with Struts2 portlets? The Spring Portlet MVC framework has the OpenSessionInViewInterceptor in conjunction with their HandlerMapping structure to solve this issue. Is there something that can be done like this in the Struts2 portlet interceptor stack? Thanks, Parker |