I don't think so... how would NH know, from an arbitrary SQL query, which entities to clear? It could clear all, but IMO it doesn't make sense.
RP On Friday, June 13, 2014 7:42:12 PM UTC+1, [email protected] wrote: > > Hi, > > in my application (using NHibernate 3.3.3) I perform updates of certain > fields (flags) via direct sql calls. > The reason is to avoid manipulating those tables with NHibernate entities > which are heavy (polymorphism etc.). > I have read somewhere > <http://tamingcode.com/2013/04/11/seemingly-random-clearing-of-nhibernate-second-level-cache/> > > that after executing native update second level cache is cleared. > But what about first level cache (session)? Is it also cleared after > native update? > I can't find this information in documentation. > > greetings > Bartek > > -- 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 http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
