java - Hibernate 2nd level cache. Store immutable objects (intact) and other in hydraded form -
is possible turn on hibernate option hibernate.cache.use_reference_entries
selected classes (in case immutable dictionaries)?
hibernate.cache.use_reference_entries
optimizes second-level cache operation store immutable entities (aka "reference") not have associations cache directly, case, lots of disasseble , deep copy operations can avoid. default value of property false.
Comments
Post a Comment