Ah, sorry, *that* sort of caching :) I read it as caching the query plan, which it does. Right now, there's no easy way to get to the IQuery.SetCacheable method; it's on the list and will probably make it into my next batch of work (later this week or early next)
On Mon, Mar 15, 2010 at 8:26 PM, Diego Mijelshon <[email protected]>wrote: > I must be missing something... > > If I want to cache an HQL query, I use IQuery.SetCacheable. > How do I SetCacheable on the IQueryable<T> returned by Query<T>? > > Diego > > > > On Mon, Mar 15, 2010 at 13:45, Steve Strong <[email protected]> wrote: > >> Query<T> does indeed support caching, it goes through exactly the same >> cache as regular HQL. >> >> >> On Thu, Mar 11, 2010 at 7:37 PM, Diego Mijelshon >> <[email protected]>wrote: >> >>> Does the new Linq provider (Query<T>) support query caching? >>> >>> If not, is that planned for the 3.x release? >>> >>> Diego >>> >> >> >
