mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-06 19:36:03 +00:00
55de90ec42
putFromLoad now checks for minimalPuts to verify whether the entry is already present in the cache. By doing this, Hibernate stats appear more precise since putForExternalReads that are no-op because the cache already contains the entry are not counted as puts. This avoids confusion amongst users. This should be reverted to checking PFER's return value when https://issues.jboss.org/browse/ISPN-1986 has been implemented.