>
> I could try setting AvailableSettings.CACHE_REGION_PREFIX to the
> application scoped pu name. That seems to get added to the region name
> (region would then be: application name + PU jar name + PU name + entity
> class).
>
> Would that be likely to work?
I think so. This is what I was getting at in terms of how to augment
the cache named generated by the hibernate-infinspan provider to include
the pu name. I originally suggested having the JPA integration code
populate a persistence property that could be recognized by the
hibernate-infinispan provider. The CACHE_REGION_PREFIX seems to fit the
bill. I would just be careful to make sure the existing use case for a
region prefix is still respected (not that I know for sure what that
is).
Yes, that was a good suggestion and yes, if its already set, we will use
the application specified CACHE_REGION_PREFIX.