Using Hibernate 3
I have a problem validating a mapping file that contains
and
elements.
Java classes:
DB Tables (Postgresql 8.2):
* tbl_agents and tbl_agenthistories are 1-to-1
* tbl_agents and tbl_retailproperties are 1-to-n
* I have no control over the db schema (ie. I cannot change it)
Agent.hbm.xml:
RetailProperty.hbm.xml:
RetailProperty.hbm.xml validates. But when I try to validate Agent.hbm.xml I get this:
Which usually means to me that something is wrong with the mapping file. Is there anything in my mapping files that I'm missing?
Note that when I comment out either the <set> or <join> element in Agent.hbm.xml it validates.