title: Native query and caching mechanism of Hibernate
body: <p>I have a question regarding Hibernate caching mechanism.I have read in the articles that native SQLquery execution in hibernate, invalidates all regions of cache because hibernate does not have any idea regarding which particular entity it is going to affect. Here all regions of cache means are we talking about various regions of the second level cache or  both levels of cache(first level cache,second level cache) or only second level cache or only first level cache? </p>