David Canos <davidcanos <at> gmail.com> writes: > I use a Hibernate.initilize() call in the DAO layer for every object I need > to see in the presentation layer (common jsp files).it avoids Lazy > Initializations without passing Hibernate Proxy around layers.
This was one of my last resort ideas. It completely flies in the face of lazy initialization, by proactively initializing them. Obviously something I want to avoid. There ought to be no need to pass around a hibernate proxy at all, the container should take care of everything for you, that's the point of CMT. I know there has to be a proper solution out there, I just have to wait for the right person to stumble onto the mailing list. Thanks for letting me know that this method does indeed work though. I have not tested it myself, but at least I know now that not _all_ hope is lost. -Nate --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org