Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Hibernate :- Pluggable Update Time Stamp Cache impl
PostPosted: Tue May 29, 2012 11:59 pm 
Newbie

Joined: Tue May 29, 2012 11:46 pm
Posts: 4
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.