What are the inheritance mapping models in hibernate?



What are the inheritance mapping models in hibernate?..

Answer / Rachna

In Hibernate, there are four main inheritance mapping strategies: single table per class hierarchy (JOINED), single table per subclass (TABLE_PER_CLASS), table-per-concrete-class (TABLE_PER_CONCRETE_CLASS), and embeddable superclasses. These strategies determine how Hibernate maps classes in an inheritance hierarchy to database tables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is dirty read problem in hibernate?

1 Answers  


What is proxy in hibernate?

1 Answers  


Can I use jpa without hibernate?

1 Answers  


What are the advantages of hibernate?

1 Answers  


What is orm tool?

1 Answers  


How many types of association mapping are possible in hibernate?

1 Answers  


What is the purpose of mapping?

1 Answers  


What are the orm tools?

1 Answers  


Is hibernate a middleware?

1 Answers  


What is a hibernate xml mapping document and how does it look like?

1 Answers  


What are the different id generating strategies using @generatedvalue annotation?

1 Answers  


What is difference between persistent and transient objects?

1 Answers  


Categories