Java Coder
What is component mapping in Hibernate?
1 Answer(s)      2 years ago
Posted in : Hibernate

Hi,

What is component mapping in Hibernate?

thanks,

Advertisement
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,