Jeroen Kransen
Apr 22nd, 2007, 01:21 AM
I get a LazyInitializationException accessing a collection on a Hibernate persistent object, despite using the OpenSessionInViewFilter. This makes sense, since I use <redirect/> in my navigation rules. Of course, after the redirect there is a different request and a different Session. Leaving <redirect/> out will solve the problem, but will not allow users to click the "refresh" button. Is there any way to get both, i.e. an open session in the view and a get-after-a-post?
Jeroen
Jeroen