[jboss-jira] [JBoss JIRA] Commented: (JBAS-6377) Allow for persistence unit resolving beyond enterprise application archives (e.g. whole server)

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Jan 14 02:48:04 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12447697#action_12447697 ] 

Andrew Lee Rubinger commented on JBAS-6377:
-------------------------------------------

Note that this is in violation w/ EJB3 JPA Spec 6.2.2:

When referencing a persistence unit using the unitName annotation element or persis-
tence-unit-name deployment descriptor element, the visibility scope of the persistence unit is
determined by its point of definition. A persistence unit that is defined at the level of an EJB-JAR, WAR,
or application client jar is scoped to that EJB-JAR, WAR, or application jar respectively and is visible to
the components defined in that jar or war. A persistence unit that is defined at the level of the EAR is
generally visible to all components in the application.

So it's JBoss-specific.


> Allow for persistence unit resolving beyond enterprise application archives (e.g. whole server)
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6377
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6377
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Carlo de Wolf
>            Assignee: Carlo de Wolf
>


-- 
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