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



Home Answers Viewqa Hibernate What is component mapping in Hibernate?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is component mapping in Hibernate?
1 Answer(s)      a year and 6 months 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,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com