Hi, I have some question about this example:
(
http://www.hibernate.org/hib_docs/refer ... n-onetoone)
/***** Employee mappings ********/
<one-to-one name="person" class="Person"/>
/***** Person mappings ********/
<class name="person" table="PERSON">
<id name="id" column="PERSON_ID">
<generator class="foreign">
<param name="property">employee</param>
</generator>
</id>
...
<one-to-one name="employee"
class="Employee"
constrained="true"/>
</class>
In this relationship who is the Parent and who is the Child ?
Regards,
Alejandro.-