Mappings between class properties and table columns are  specified in XML file as in the below example:
<?xml version="1.0"?> <!DOCTYPE  hibernate-mapping PUBLIC
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class name="departmentClass"  table="TBL_DEPT">
<property name="dept"  column="department_name">
<property name="Description"  column="department_details"/>
<many-to-one name="nxtPer"  cascade="all" column="NxtPerId"/>
</class>
</hibernate-mapping>