Ehcache 2.1是否支持Hibernate 3.3.2GA中的事务缓存并发策略?
是 Ehcache 2.1 现在支持交易Hibernate 3.3.2GA中的缓存并发策略?也就是说,Hibernate在配置为使用Ehcache 2.1作为其缓存提供程序时,允许映射文件中的< cache usage =transactional/>
元素或Hibernate实体类注释 @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
?
Does Ehcache 2.1 now support the transactional cache concurrency strategy in Hibernate 3.3.2GA? That is, does Hibernate, when configured to use Ehcache 2.1 as its cache provider, allow the <cache usage="transactional"/>
element in a mapping file or the Hibernate entity class annotation @Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
?
根据Ehcache 主页页面,Ehcache 2.1+现在支持所有Hibernate策略:
According to the Ehcache Home Page page, Ehcache 2.1+ does now support all Hibernate strategies:
2010年5月17日:Ehcache 2.1.0和新的ehcache-nonstopcache和
ehcache-unlockedreadsview发布
17 May 2010: Ehcache 2.1.0 and new ehcache-nonstopcache and
ehcache-unlockedreadsview released
Ehcache 2.1.0完善了Ehcache 2.0。
已为
独立ehcache添加了JTA支持。已添加JTA for Hibernate
,现在意味着Ehcache
支持所有Hibernate策略。
ehcache-nonstopcache添加一个新的API
,支持Cache
上的超时操作以及
与群集断开连接的可配置操作。
ehcache-unlockedreadsview为一个连贯的缓存增加支持
,同时公开
解锁视图,
快速响应。
Ehcache 2.1.0 rounds out Ehcache 2.0. JTA support has been added for standalone ehcache. JTA for Hibernate has been added which now means Ehcache supports all Hibernate strategies. ehcache-nonstopcache adds a new API with support for timeouts on Cache Operations and configurable actions on disconnection from a cluster. ehcache-unlockedreadsview adds support for a coherent cache to expose an unlocked view at the same time, for rapid response.
See also
- Ehcache 2.1 Beta - Lots of Stuff, Still Backward Compatible