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: Bug
Environment: JBoss AS 5.1.0.GA, RH x86_64, JDK 1.5.0_18
Reporter: Brett Cave
Assignee: Carlo de Wolf
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