[jboss-jira] [JBoss JIRA] Created: (JBAS-6111) Ensure hibernate.cache.region_prefix is specified by PersistenceUnitDeployment

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Oct 19 11:44:20 EDT 2008


Ensure hibernate.cache.region_prefix is specified by PersistenceUnitDeployment
------------------------------------------------------------------------------

                 Key: JBAS-6111
                 URL: https://jira.jboss.org/jira/browse/JBAS-6111
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Clustering, EJB3
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: JBossAS-5.0.0.GA


See EJBTHREE-954 for background.  The EJBTHREE-954 fix got dropped in the refactor out of ejb3 and into jpa-deployers.  Will add the missing functionality to PersistenceUnitDeployment.start(), using the PUD's kernelName as the region prefix.

The region prefix used thus depends on how the kernelName is created. The current default mechanism will generate region prefixes as follows:

1) persistence unit package in an ear, inside a jar in the ear's lib dir:

persistence.unit:unitName=foo.ear/lib/bar.jar#unitA

2) persistence unit package in an ear, inside a jar in the root of the ear:

persistence.unit:unitName=foo.ear/bar.jar#unitB

3) persistence unit not packaged in an ear:

persistence.unit:#unitC

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list