Hi, I have an issue executing a stored procedure from *sql-query* that does 
an insert in a *Log *table. Before executing the query NH fires a Cache 
Evict on other cached Entities.

Is this the default behavior??
Am I missing some configuration in the procedure or someone else to avoid 
evicting cache?. I triedto set *Cacheable=false* but it didn´t work.

*My Cache config*:

configuration.Cache(delegate(ICacheConfigurationProperties properties)
{
   properties.Provider<NHibernate.Cache.HashtableCacheProvider>();
   properties.UseQueryCache = true;
});

configuration.EntityCache<FieldType>(
   entityCacheconfig => {entityCacheconfig.Strategy = 
EntityCacheUsage.ReadWrite; }
);
configuration.EntityCache<FieldValue>(
   entityCacheconfig => { entityCacheconfig.Strategy = 
EntityCacheUsage.ReadWrite; }
);

thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to