]
Jeff Ferber commented on EJB-374:
---------------------------------
I haven't heard anything. I just went to #hibenate on IRC to see if anyone was
interested in voting it up, but no one responded. Maybe email the listserv? For now
I'm just using ant to copy around .class files.
persistence.xml <jar-file> not following JSR220 spec
----------------------------------------------------
Key: EJB-374
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-374
Project: Hibernate Entity Manager
Issue Type: Bug
Components: EntityManager
Affects Versions: 3.4.0.CR2
Environment: regression: 3.3.2.GA, 3.4.0.CR2
Reporter: Jeff Ferber
JSR220 says <jar-file> is relative to the root of the persistence unit, which is
the place containing the META-INF/persistence.xml
This is not the case. Instead, it looks for the jar relative to the JVM working
directory. (see JarVisitorFactory.java)
So providing an absolute file path in <jar-file> works, but not a relative path
because the root changes changes based on the situation and environment. E.g., the
directory you run ant, when running tomcat, etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: