You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In latest version we have NonStrictReadWriteMemcachedCollectionRegionAccessStrategy class that implements Object get(SharedSessionContractImplementor session, Object key, long txTimestamp) throws CacheException; method from 'RegionAccessStrategy' but actually returns null. This change was introduced as part of commit b251ea4309f437038de032385e04457ef553d31c.
This makes cached entities with eagerly fetched collections that use CacheConcurrencyStrategy.NONSTRICT_READ_WRITE to get reloaded again from database when they are actually cached.
The text was updated successfully, but these errors were encountered:
Good catch @dfsabugal . return null; doesn't look too good in there. it should be a return region().get(key);
I'll release a new version with the fix soon.
hibernate-l2-memcached:5.2.17.0 should be available from maven central shortly.
It includes this fix along with a small upgrade to hibernate core to 5.2.17.0
In latest version we have
NonStrictReadWriteMemcachedCollectionRegionAccessStrategy
class that implementsObject get(SharedSessionContractImplementor session, Object key, long txTimestamp) throws CacheException;
method from 'RegionAccessStrategy' but actually returnsnull
. This change was introduced as part of commit b251ea4309f437038de032385e04457ef553d31c.This makes cached entities with eagerly fetched collections that use
CacheConcurrencyStrategy.NONSTRICT_READ_WRITE
to get reloaded again from database when they are actually cached.The text was updated successfully, but these errors were encountered: