Hi ankur,
Welcome to CodeRanch!
Firstly, please go through forum FAQs (like
TellTheDetails,
CarefullyChooseOneForum,
UseCodeTags etc.).
Further, please be clear about exactly when you are having problem. What is parent table and child table? What is Employee.hbm.xml?
To me, the question appears to be related to hibernate (would be much better if you mention this) and I'm moving this to relevant forum.
Please provide the details (so that other members can assist you in better way) and feel free to ask more questions (and answer questions by others
).
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)