Looks like a bug then, it shouldn't do that.

On Tue, May 25, 2010 at 3:25 PM, ondesertverge <[email protected]>wrote:

> Yes, and calling GetAssociatedUsersGroupFor on a separate web request
> (with a transaction and all) still gives stale data (until the cache
> entry expires).
>
> On May 25, 2:54 pm, Ayende Rahien <[email protected]> wrote:
> > Did you commit the transaction?
> >
> > On Tue, May 25, 2010 at 2:34 PM, ondesertverge <[email protected]
> >wrote:
> >
> >
> >
> > > Hi All,
> >
> > > I'm having the following issue with RS with second level cache
> > > enabled:
> >
> > > Executing GetAssociatedUsersGroupFor directly after executing
> > > AssociateUserWith returns the cached associations. AssociateUserWith
> > > doesn't seem to be invalidating the cache for the UserToUsersGroups
> > > table.
> >
> > > I am using SysCache2 from Nhibernate.Contrib.
> >
> > > Is the solution for this in a config setting I'm missing or do have to
> > > make a change to RS code?
> >
> > > Thanks,
> > > David
> >
> > > --
> > > 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]>
> <rhino-tools-dev%[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]<rhino-tools-dev%[email protected]>
> .
> > For more options, visit this group athttp://
> 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]<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