简体   繁体   中英

JBoss with hibernate using inifinispan as the second level cache provider

I am using JBoss 6.1 and JPA/Hibernate (3.6) as the second level cache with Infinispan (4.2) being the cache provider

My question would be : is there a difference between cache strategy READ-WRITE and cache strategy TRANSACTIONAL ? I am asking this because as far as i understood Infinispan falls to TRANSACTIONAL cache strategy even when READ-WRITE is being specified.

I am not familiar with this extremely old implementation (Infinispan 4.2 was released more than 5 years ago, last ORM 3.6 release is 4+ years), but in ORM 4.x there was no difference.

Note that 2LC suffered many concurrency issues fixed in 5.0.x (fixes were not backported to 4.x as API changes were needed), so I would strongly suggest to upgrade.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM