What is component mapping in Hibernate?

Hi,

What is component mapping in Hibernate?

thanks,

View Answers

April 19, 2013 at 4:34 PM

Hi,

A Hibernate component mapping is nothing but a mapping for class which have mantioned to another class as a member varible. We oftenly found such mapping while there are two tables using element in the mapping file. That's why we will use element in the mapping file and a single table would be used to keep the attributes contained inside the class variable.

For clear concept about component mapping in hibernate visit below link:

http://www.roseindia.net/hibernate/hibernateormapping.shtml

Thanks,









Related Tutorials/Questions & Answers:
Advertisements