[Cosmo-dev] Items in Many Collections
Brian Moseley
bcm at osafoundation.org
Sat Mar 10 11:59:12 PST 2007
On 3/10/07, Bobby Rullo <br at osafoundation.org> wrote:
> Now the Item object has lots (dozens? Hundreds?) of Collections in
> its parents collection. Is this going to be a performance or memory
> usage problem for Cosmo, since every user who makes a request for
> that Item will end up causing Hibernate to fetch all the collections
> that happen to be parents for that item?
i think/hope that getParents is lazy loading. i'm not sure in what
situations we actually use it, so even if it's lazy loading, if we
call it all the time, there definitely is potential for a problem.
More information about the cosmo-dev
mailing list