query-cache

Hibernate query cache - for objects not in the 2nd level cache - risky? useful? bad practice?

試著忘記壹切 提交于 2019-11-29 01:34:09
问题 Related to this question Premise: These are my assumptions, based on my reading, experience and understanding, they may be wrong, if they are, please comment and I'll edit the question. Query cache is good mostly along with 2nd level cache Query cache caches the identifiers results of queries + parameters Query cache is risky if the database was changed, and it wasn't reflected to the cache Question: I have an object that is not in the 2nd level cache. Due to some bad programming or other