You cannot programatically set the eager/lazy setting. You either set it to EAGER and
have it always fetch, or you set it to lazy and for those things (like servlets) that need
to force an eager fetch, they would need to call into some SLSB or some such thing that
performs a FETCH JOIN query.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020547#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...