Thanks Fabio for your kind response. Sure i will create the Jira
ticket.

****Issue is solved
Outcome:   replace  IQuery.SetForceCacheRefresh(true) with
IQuery.SetCacheMode(CacheMode.Refresh)

>Dhar

On Feb 12, 11:22 am, Fabio Maulo <[email protected]> wrote:
> use IQuery.SetCacheMode(CacheMode cacheMode)The multiQuery are working with
> an partial concept about override the session cache mode.
> Please create a new JIRA ticket (Improvement in MultiQuery) with the
> inconsistence.
> Thanks.
>
> 2009/2/11 Dhar <[email protected]>
>
>
>
>
>
>
>
> > Hi..
>
> >  I am trying to migrate from 1.2 to 2.0.1.4000. I am getting
> > compilation error
>
> >                using (Repository rep = new Repository())
> >                {
> >                   IQuery iqry = rep.Session.CreateQuery
> > (hql);
>
> >                   iqry.SetForceCacheRefresh(true);
> >               }
>
> > 'NHibernate.IQuery' does not contain a definition for
> > 'SetForceCacheRefresh'
>
> > I looked IQuery in the reflector, i was not able to find this method.
> > But i was able to find SetForceCacheRefresh in  IMultiQuery.
>
> > Any suggestion?
>
> > nHibernate.dll  Version 2.0.1.4000
> > size: 1.56 MB (1,638,400 bytes)
>
> > Reference:http://nhforge.org/doc/nh/en/index.html#performance-querycache
> > 16.4. The Query Cache
>
> --
> Fabio Maulo- 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