Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-30 Thread Galder Zamarreño
On Aug 16, 2011, at 4:26 PM, Sanne Grinovero wrote: > Hi Scott, > demanding people to configure a new cache for each application is very > tricky because of ISPN-658, unless you're referring to creating a > whole new instance of Infinispan, with a dedicated new CacheManager > and either starting

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
>> >> 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

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Paul Ferraro
On Tue, 2011-08-16 at 10:45 -0400, Scott Marlow wrote: > On 08/16/2011 10:26 AM, Sanne Grinovero wrote: > > Hi Scott, > > demanding people to configure a new cache for each application is very > > tricky because of ISPN-658, unless you're referring to creating a > > whole new instance of Infinispan

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
2011/8/16 Scott Marlow : > 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 + en

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
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 likel

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
> 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 __

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
On 08/16/2011 10:26 AM, Sanne Grinovero wrote: > Hi Scott, > demanding people to configure a new cache for each application is very > tricky because of ISPN-658, unless you're referring to creating a > whole new instance of Infinispan, with a dedicated new CacheManager > and either starting a new J

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
Hi Scott, demanding people to configure a new cache for each application is very tricky because of ISPN-658, unless you're referring to creating a whole new instance of Infinispan, with a dedicated new CacheManager and either starting a new JGroups channel or using the JGroups multiplexer Paul had

[hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
I'm looking at o.h.c.i.InfinispanRegionFactory and wondering how best to configure the 2lc for AS 7.1. After a recent forum discussion and opening AS7-1544, I need to make some corrections to properly accommodate multiple JPA persistence units sharing the same underlying cache definition or ha