[ 
https://issues.apache.org/jira/browse/GERONIMO-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473323
 ] 

David Jencks commented on GERONIMO-2485:
----------------------------------------

In rev 507861 I made it so persistence units specified with persistence.xml 
embedded in geronimo plans won't have name collisions by providing a EARContext 
for ejb modules that has a module specific name but shares the underlying 
Configuration and everything else with the ear's EARContext.  This puts the ejb 
module name into the persistence unit's name just like other gbeans from the 
ejb module.  This will also eliminate similar name collisions between plain 
gbeans in different ejb modules in the same ear.

The code that constructs an abstract name using the location of the persistence 
unit in the ear is not yet finished.

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M2
>
>
> Most of the config into in PersistenceUnitGBean can be read out of 
> persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom 
> xml and can either set stuff from the supplied xml, look for persistence.xml 
> in a specified location, or look for persistence.xml in a default location, 
> and parse persistence.xml.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to