I have two dao modules: daomodule1 and daomodule2.  daomodule1 has the User
and Role mapped in hibernate.cfg.xml and a model object in daomodule2 has a
relationship with User in daomodule1.  

The hibernate.cfg.xml file in daomodule2 only has mappings for objects in
that package.  

When I run hibernate3:hvm2ddl for daomodule2 I get an error saying object is
mapped to unknown entity User.

I've included the dependency for daomodule1 in the pom file of daomodule2
but how can I get it to pick up the hibernate.cfg.xml file of daomodule1
when installing daomodule2 so it doesnt complain?

Regards, 

..kace
-- 
View this message in context: 
http://www.nabble.com/multi-modules-and-hibernate.cfg.xml-tp17887368s2369p17887368.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to