Hi
I am migrating an application from jboss 4.2.3 to jboss 6.1.0. we are using a separate jar to declare the persistence xml file, and specifying the classes using <jar-file>.
This works fine in jboss 6.1.0 with old hibernate jars but started giving error when we upgrade the hibernate to version 3.6.6 (comes with jboss 6.1.0).
Error is Entity not mapped. And if we specify individual class names instead of jar file it works.
Can anybody help me in this?
I don't know if it helps but with 5.1/5.2, we had to rename persistence.xml to something else to make it work. It was with Spring so we changed name in persistenceXmlLocation attribute.