--- Will Smith <[EMAIL PROTECTED]> wrote:
> [session stuff]

If you were already okay with manually loading
non-lazy loaded stuff, why not just:

Hibernate.initialize(rootObject.getNameOfLazyCollection());

Otherwise:

- Set lazy="false" in the mapping, and load it all the
time, or
- Use an open-session-in-view filter (or interceptor)
as has already been suggested?

Personally, I'd use Spring, but whatever.

d.



 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to