no, for that you need EvictCollection

On Sat, Oct 4, 2008 at 1:26 AM, jason.hill <[EMAIL PROTECTED]> wrote:

>
> Thanks.
>
> Just to confirm...this will also evict associations where I have
> cascade="all" or "all-delete-orphan"...right?
>
>
> On Oct 3, 6:32 pm, "Ayende Rahien" <[EMAIL PROTECTED]> wrote:
> > sessionFactory.Evict()
> >
> >
> >
> > On Fri, Oct 3, 2008 at 7:55 AM, jason.hill <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi,
> >
> > > I have a web app with the second level cache turned on. I then have a
> > > batch job that runs as part of task scheduler intermittently
> > > throughout the day to process some stuff against the domain.
> >
> > > At the end of the batch job, I want to trigger a clearing of the
> > > second level cache in the web app so that interactive users will
> > > always be looking at the current data from the DB. What is the best
> > > way to do this?
> >
> > > I know I can recycle the app pool but then it can disrupt users that
> > > are already logged in, forcing them to login again so that is not an
> > > option. I am assuming that I will need to programatically submit a web
> > > request against the application to clear the cache manually. Is that
> > > right? How do you manually clear the cache though?
> >
> > > Thanks,
> >
> > > Jason- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to