What is inheritance mapping in hibernate?



What is inheritance mapping in hibernate?..

Answer / Prashant Agnihotri

Inheritance Mapping in Hibernate is a technique used to map classes that extend each other (inheritance hierarchy). Hibernate provides three strategies for inheritance mapping: Table-per-Class, Table-per-Concrete-Class, and Joined-Table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

How to update data in database using spring and hibernate?

1 Answers  


Which annotation is used to declare a class as a hibernate bean ?

1 Answers  


What is the difference between an orm and an odm?

1 Answers  


What is the difference between session.save() and session.persist() method?

1 Answers  


What does hibernate show_sql true means?

1 Answers  


How does hibernate?

1 Answers  


What is lazy loading in hibernate and how is it done?

1 Answers  


What is persist in hibernate?

1 Answers  


What are the 3 levels of orm?

1 Answers  


What is the difference between update and merge?

1 Answers  


Is hibernate an orm?

1 Answers  


What is difference between jdbc and hibernate?

1 Answers  


Categories