title: Nhibernate 3.0:Mapping in the hbm.xml file for a relational table step by step procedure needed
body: <p>I'm using an Nhibernate version 3.0 and this is my first time im using it.I would like to know how can i create an hbm.xml file for the tables where relationship exists between them.  Here is my scenario i have two tables named table A and table B. Table B primary key is the foriegn key in the table A. for this how i need to write the hbm file and also how i need to insert the values into both the tables simultaneously by using only one object. (ie., how should i need to write the table A class file and table B class file.)</p>
  
  <p>if any one explains me in the set by step procedure it will be easier for me to understand.</p>