[hibernate-dev] NonStrictReadWriteEhcacheEntityRegionAccessStrategy removes the region Cache key twice

Mihalcea Vlad mih_vlad at yahoo.com
Tue May 5 06:52:45 EDT 2015


Hi,
When an entity is updated for the "CacheConcurrencyStrategy.NONSTRICT_READ_WRITE", the cache entry is removed twice:
1. Once from update:public boolean update(Object key, Object value, Object currentVersion, Object previousVersion)
      throws CacheException {
   remove( key );
   return false;
}


Vlad Mihalcea



More information about the hibernate-dev mailing list