What are the different types of property and class mappings?
There are two different types of property and class mappings in Hibernate. These are XML mapping and Fluent NHibernate" etc.
We can map properties from our class to fields in the database using the id tag and the property tag in hibernate. These tags are for the standard fields in the database, not the Foreign Key fields. We'll get to those in a minute.
For details visit to http://www.roseindia.net/hibernate/hibernate4/hibernate_mapping.shtml