Hi, There is a configuration in the web.xml file for a filter called lazyLoadingFilter which will keep your session open on the web request. By default it is commented out - simply un-comment it to implement lazy loading.
Mike 2008/12/25 Christian Decker <[email protected]> > > Hi all, > > the way the managers are implemented once the method returns the > transaction > terminates and we are unable to load further data by walking the references > (such as lazy initialized collections and referenced objects). To fetch > more > I had to implement more manager functions. What is the best way to reattach > an object to the session? > Currently I'm simply doing a refetch of the object from hibernate. > > Regards, > Chris > > ----- > Christian Decker > http://blog.snyke.net > -- > View this message in context: > http://www.nabble.com/Reattaching-object-to-session-tp21167711s2369p21167711.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
