Brian Stansberry wrote:
Max Rydahl Andersen wrote:
>> The prefix I'm using is
>>
>> [ear=xyx.ear,][jar=abc.jar,]unitName=unitName.
>>
>> So, prefix per persistence unit.
>
> ok - horrible name ;) but I guess that is is the only thing we have
> that is unique across a cluster ?
>
If people want poetry they can come up with their own name and specify
hibernate.cache.region_prefix. :)
The [ear=xyx.ear,][jar=abc.jar,]unitName=unitName bit is the core of the
internal unique name for the persistence unit itself. The
[ear=xyx.ear,][jar=abc.jar,] bit is what's used to give uniqueness to
EJBs as well.
This is done.
http://jira.jboss.com/jira/browse/EJBTHREE-954
I switched the name to
[xyz_ear,][abc_jar,]unitName
a) shorter for replication
b) can't allow '.' in the prefix or org.hibernate.cache.TreeCache will
convert it into '/' and make it an Fqn divider. So I escaped the '.'.
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com