Using a discriminator for inheritance in Hibernate 4
Issue
- Use a discriminator for
SINGLE_TABLEandJOINEDinheritance mapping - Declare a discriminator for an inheritance hierarchy
- Declare the discriminator value for subclasses
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
- Hibernate 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
