Perhaps because you have additional non lazy items in the sub components?
Very hard to tell without knowing what you are doing.


On Thu, Feb 12, 2009 at 11:46 AM, Chucara <[email protected]> wrote:

>
> Ok.. I'm a but confused, but I'm managed to get the loading time down
> to: 2 minutes for the first go, and 30 seconds for each consequetive.
>
> I used the query above and removed lazy="false" fetch="join" from the
> hbm.xml file.
>
> When watching log4net, I can see that even though children are left
> outer joined in the query, it calls the database 10,000 times to get
> the collection of children? Why does lazy=false and fetch=join force
> it to refetch the children in seperate calls?
>

Reply via email to