max wrote:
sorry I don't follow - are you saying that none of the mapping files added on the mappings tab shows up or ?
btw. why do you spread out the two files - just curious ?
if you used Hibernate Entitymanager you would not need to list anything since it supports auto scanning of entities and hbm.xml.
There are three parts to this:
- application war file
- application model jar file
- common muli-application model jar file
Each of the two jar files has its own hbm.xml that just lists the classes it provides.
I can add these files in the hibernate tools but it just doesn't seem to use them. I end up with no entity classes available in the list. Yet when we load these files from application code it all works fine.
The only way I have been able to get it to work is to combine the lists of classes into one hibernate.cfg.xml and then hibernate tools is happy.