[jboss-jira] [JBoss JIRA] Updated: (JBJPA-17) jar files referenced for persistence can be referenced absolutely

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Feb 8 03:58:26 EST 2010


     [ https://jira.jboss.org/jira/browse/JBJPA-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf updated JBJPA-17:
-------------------------------

    Issue Type: Feature Request  (was: Bug)
      Assignee:     (was: Carlo de Wolf)


> jar files referenced for persistence can be referenced absolutely
> -----------------------------------------------------------------
>
>                 Key: JBJPA-17
>                 URL: https://jira.jboss.org/jira/browse/JBJPA-17
>             Project: JBoss JPA
>          Issue Type: Feature Request
>         Environment: JBoss AS 5.1.0.GA, RH x86_64, JDK 1.5.0_18
>            Reporter: Brett Cave
>
> According to EJB 3. Persistence Specification 6.2.1.6:
> "One or more JAR files may be specified using the jar-file elements instead of, or in addition to the
> mapping files specified in the mapping-file elements. If specified, these JAR files will be searched
> for managed persistence classes, and any mapping metadata annotations found on them will be pro-
> cessed, or they will be mapped using the mapping annotation defaults defined by this specification. 
> Such JAR files are specified relative to the root of the persistence unit "
> A JAR file can be referenced absolutely by using the following syntax in persistence.xml:
> <jar-file>file:/absolute/path/to/somejar.jar</jar-file>

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