The Single Table per Class Hierarchy Strategy This strategy provides good support for polymorphic relationships between entities and queries that cover the entire entity class hierarchy. Note: Enum InheritanceType: * SINGLE_TABLE A single table per class hierarchy. * JOINED A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass. * TABLE_PER_CLASS A table per concrete entity class. Incorrect:Not D: There is no such thing as inheritanceType.POLYMORPHIC_JOIN_TABLE.Reference: Entity Inheritance Mapping Strategiesjavax.persistence, Enum InheritanceType
The Single Table per Class Hierarchy Strategy
This strategy provides good support for polymorphic relationships between entities and queries that cover the entire entity class hierarchy.
Note: Enum InheritanceType:
* SINGLE_TABLE
A single table per class hierarchy.
* JOINED
A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass.
* TABLE_PER_CLASS
A table per concrete entity class.
Incorrect:
Not D: There is no such thing as inheritanceType.POLYMORPHIC_JOIN_TABLE.
Reference: Entity Inheritance Mapping Strategies
javax.persistence, Enum InheritanceType