No, if you want to make the 2nd cache happy, you must load the entire
collection.


On Thu, May 20, 2010 at 2:17 AM, Craig Quillen <[email protected]> wrote:

> I'm using Rhino.Security in a use case that requires for
> EntitiesGroups to contain large (20000+) numbers of EntitityReferences
> per group.  These EntitiesGroups are also in a hierarchy, so the
> AllChildren collection can get truly tremendous.
>
> Adding an entity to one of these groups takes over 90 seconds as
> nhibernate loads these huge collections.  Is there any way I could add
> an entity to the entities group without loading the DirectChildren and
> AllChildren collections into memory AND keep the 2nd level cache
> happy?  My understanding is the cache can get out of sync if I insert
> the necessary records with sql.
>
> I'm not exactly an nHibernate beginner, but still need help with the
> black magic.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to