They are different. eclipse-orm.xml needs to be listed in the persistence.xml
(as META-INF/eclipse-orm.xml). orm.xml should be processed by default.
Please create a single test case that you have problems with and post the
persistence.xml, jar -tf, and the exception that match each other. We can't help
otherwise.
Regards,
-marina
glassfish_at_javadesktop.org wrote:
> Looking back over my post I wonder if I miscommunicated something.
>
> I get this error with 'orm.xml' AND 'eclipse-orm.xml'. I mistakenly posted the stack trace of one scenario and the jar output of another. I had gone back and forth a few times between making my post and answering your question so sorry for any time I've wasted. I have had to remove any instance of an orm.xml file from my project in order to keep working.
>
> Not sure if that clears anything up but imagine that the 'orm.xml' in the jar output is the 'eclipse-orm.xml' in the error message :-) - it happens with either of them.
>
> Thanks again
> [Message sent by forum member 'euqaz' (euqaz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301697
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>