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; } 2. From unlockItem: @Override public void unlockItem(Object key, SoftLock lock) throws CacheException { region().remove( key ); } Shouldn't this be called only once, either from update or from unlockItem, which is called in doAfterTransactionCompletion? Vlad Mihalcea On Tuesday, May 5, 2015 1:52 PM, Mihalcea Vlad <mih_v...@yahoo.com> wrote: 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 _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev