Issue Details (XML | Word | Printable)

Key: EJB-259
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Emmanuel Bernard
Reporter: Tobias Jenkner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
z - Hibernate Entity Manager

Evaluate orm.xml files in referenced jar files

Created: 19/Dec/06 09:16 AM   Updated: 19/Feb/07 09:05 AM   Resolved: 19/Feb/07 09:05 AM
Component/s: EntityManager
Affects Version/s: None
Fix Version/s: 3.3.0.ga

Time Tracking:
Not Specified

Environment: JBoss EJB3

Bug Testcase Reminder (view):
REMINDER: Bug reports should generally be accompanied by a test case
Participants: Emmanuel Bernard and Tobias Jenkner


 Description  « Hide

Hibernate entitymanager only evaluates an orm.xml file in the META-INF directory of root of the persistence unit but no orm.xml file from the META-INF directory of any jar file referenced by the persistence.xml.

The ejb3 spec says that all orm.xml should be evaluated (-> "JSR 220: Enterprise JavaBeansTM,Version 3.0 Java Persistence API", chapter 6.2.1.6).



Tobias Jenkner added a comment - 19/Dec/06 09:19 AM

Emmanuel Bernard added a comment - 19/Feb/07 09:05 AM

I think I fixed it.
It worth adding a test in the container though http://jira.jboss.com/jira/browse/EJBTHREE-884