AFAIK, there is no place where you can get to the QueryParameters object, which is an intermediate object for query. It has a Cacheable property, which determines whether the given query should be cached/ retrieved from cache. That would be nice to have this in the IInterceptor, wouldn't it?
On 15 Lut, 15:14, [email protected] wrote: > All, > > Is there a way where I could configure which queries need to be cached rather > than adding setcacheable on each method in the repository. > > By doing this during production, if I could able to identify any bottlenecks > in a query I can just add an entry to the configuration. > > Please share your suggestions.. > > Thanks > Prakash > Sent on my BlackBerry® from Vodafone -- 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.
