4 Replies Latest reply on Apr 26, 2006 12:04 AM by tsar_bomba

    Fetching...Lazy but initialized?

      So, I'm using Wicket + JBoss EJB3 to build a small sample application to present to my co-workers.

      I was trying to figure out an elegant way around the general tricky nature of lazily loaded collections and found this post:

      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=75525

      Could someone explain to me what the difference between initializing the collection before returning it to the view and Eager fetching is?

      Would this not be essentially the same as using Eager fetching?

      Thanks!