Hibernate :-4.1.2.Final
cache :- EHCache
2nd level cache and query cache enabled
As per HHH-4055, I am providing custom implementation of update time stamp cache by building own Region factory implementation.
public class XXXCacheRegionFactory extends EhCacheRegionFactory{
@Override
public TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws CacheException {
return new EhcacheTimestampsRegion( accessStrategyFactory, getCache( "test.XXXUpdateTimeStampCache" ), properties );
}
}
But looks like still update time stamp cache is being used as part of Standard query cache. Please advise how to provide own implementation of update time stamp cache as per HHH-4055:-
https://hibernate.onjira.com/browse/HHH-4055