Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate What are the different types of property and class mappings?

Have Programming Question? Ask it here!
 
 
 


Java Coder
What are the different types of property and class mappings?
1 Answer(s)      a year ago
Posted in : Hibernate


Hi,

What are the different types of property and class mappings?

thanks,


Advertisement
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
 

 

 

DMCA.com