What is discriminator in hibernate?
Answer / Pushpendra Singh Thakur
The Discriminator in Hibernate is a column that helps to identify the subclass of a polymorphic entity. It's used when you have a table for a class hierarchy, and you want Hibernate to know which specific child class to instantiate.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is persistence in hibernate?
What is a polymorphic association?
What is a pure relational orm?
Is sessionfactory singleton in hibernate?
Why hibernate came into existence?
How to configure second level cache in hibernate?
Which is better hibernate or jpa?
Does hibernate support mongodb?
What are the benefits of hibernate over jdbc?
Why do we need hibernate in java?
What is implicit polymorphism in hibernate?
What are session beans?