On 08/16/2011 11:08 AM, Sanne Grinovero wrote: >> 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? > > That sounds like a good plan
Thanks for the help! :) Seems to work so far. I'm doing a little more testing... FYI, the following debug log output is from running my test case. This gives an idea of what the cache region names are for my three test PUs (mypc, SecondPU, ThirdPU): Building entity cache region [jpa_SecondLevelCacheTestCase.jar#mypc.org.jboss.as.testsuite.integration.jpa.hibernate.Employee] Building entity cache region [jpa_SecondLevelCacheTestCase.jar#SecondPU.org.jboss.as.testsuite.integration.jpa.hibernate.Employee] Building entity cache region [jpa_SecondLevelCacheTestCase.jar#ThirdPU.org.jboss.as.testsuite.integration.jpa.hibernate.Employee] _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev