How to create hibernate one to one mapping using xml? I have to create the mapping using the *.hbm.xml file.
Suggest me the url of the correct tutorial.
In case of one-to-one mapping for each reach in a table there is corresponding only one record in the mapping table.
For example employ will have only one current address.
Check the example at: Hibernate One-to-one Relationships