Can mapping files (*.hbm.xml) sit in a jar different from the one containing mapped classes?
I have a library of business objects that is used in two different environments: one running H3 and the other still on H2. I want to use the same business jar in both environments and only drop in the appropriate mappings jar.
This setup has worked for me in a desktop application, but when I try the same under Tomcat, mapping files cannot be found. Is there something about Tomcat's classloaders that may prevent Hibernate from locating the xml files?
Thanks
Dmitry
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.0.x