The javadocs for CacheStoreMode differentiate in a point I cannot really grasp:
The javadocs for the USE
mode:
Insert/update entity data into cache when read from database and when committed into database: this is the default behavior. Does not force refresh of already cached items when reading from database.
The javadocs for the REFRESH
mode differ in the last sentence:
Forces refresh of cache for items read from database.
When an existing cached entity instance is updated when reading from database, this would typically involve overwriting the existing data. So what is the difference between forcing and not forcing a refresh in this context?
Thank you.