Project B has a dependency on project A and is included as a maven dependency.
A.jar is included in the Maven dependencies of Project B.
A.jar contains the hibernate.cfg.xml file which has connection details and some hbm files declarations.
In project B there is one more hibernate.cfg.xml which do not have any connection details as connection is already done to DB but it have some more hbm files declarations.
What is happening is that the Project B's hibernate cfg file is not loaded and named queries, mapping beans in hbm file are not detected.
How to detect and fix the hbm file loading.
Thanks for the help.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads