What are the different types of property and class mappings?

Hi,

What are the different types of property and class mappings?

thanks,

View Answers

April 22, 2013 at 12:57 PM

Hi,

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

http://www.roseindia.net/hibernate/hibernaterelationships/many-to-many-relationships-using-xml-metadata.shtml

Thanks,









Related Tutorials/Questions & Answers:
Advertisements