How many strategies are there in hibernate inheritance?



How many strategies are there in hibernate inheritance?..

Answer / Deepak Mathur

Hibernate supports three inheritance strategies: Single Table Per Class Hierarchy (STC), Single Table Per Subclass (STS), and Joined Subclass. Each strategy has its own advantages and disadvantages depending on the specific use case.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is l1 and l2 cache in hibernate?

1 Answers  


How to prevent dirty checking in hibernate?

1 Answers  


What are the extension interfaces that are there in hibernate?

1 Answers  


Is jpa and hibernate same?

1 Answers  


How transaction management works in Hibernate?

1 Answers  


Can I disable first level cache in hibernate?

1 Answers  


What is hibernate database?

1 Answers  


What is fetching strategy in hibernate?

1 Answers  


What is the file extension used for hibernate mapping file and hibernate configuration file?

1 Answers  


What is ORM metadata?

1 Answers  


What is scalar query in hibernate?

1 Answers  


What is the difference between jdbc and hibernate?

1 Answers  


Categories