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


What is component mapping in Hibernate?


View Answers

April 19, 2013 at 4:34 PM


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: