Can't find orm.xml in <jar-file> [message #1457912] |
Fri, 31 October 2014 21:13 |
Paul Benedict Messages: 4 Registered: March 2013 |
Junior Member |
|
|
Spec section 8.2.1.6.2 says: "An object/relational mapping XML file named orm.xml may be specified in the META-INF directory in the root of the persistence unit or in the META-INF directory of any jar file referenced by the persistence.xml."
So If I reference a.jar in <jar-file> and a.jar has META-INF/orm.xml, that should be loaded. However, I don't see this happening.
PS: If Eclipselink is not finding the jar, it's not erring about that when loading the configuration. Just to test my theory, I specified a non-existent jar and there was no error.... So, I think that's a bug.
But regarding my main issue, can anyone confirm Eclipselink will load orm.xml in referenced jars?
[Updated on: Fri, 31 October 2014 21:22] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02812 seconds