This content has been marked as final.
Show 2 replies
-
1. Re: Grouping API with Infinispan as 2L cache
hgomes Mar 7, 2016 9:35 AM (in response to hgomes)Bump
-
2. Re: Grouping API with Infinispan as 2L cache
rvansa Mar 7, 2016 10:39 AM (in response to hgomes)When using Infinispan as a second-level cache (2LC) implementation in Hibernate ORM, grouping API is not used at all. Prior to ORM 5.0 you even had no control of the actual keys used in Infinispan caches (those were all CacheKey instances IIRC), in 5.0+ this is entity ID (unless you use multi-tenancy). Also, since 2LC usually uses invalidation on replicated mode, there's not much point in collocating anything.