| javax.persistence.InheritanceType
InheritanceType | public enum InheritanceType (Code) | | Defines inheritance strategy options.
since: Java Persistence 1.0 |
Field Summary | |
Enum Constant | 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. | Enum Constant | SINGLE_TABLE | Enum Constant | TABLE_PER_CLASS |
JOINED | Enum Constant JOINED(Code) | | 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.
|
SINGLE_TABLE | Enum Constant SINGLE_TABLE(Code) | | A single table per class hierarchy
|
TABLE_PER_CLASS | Enum Constant TABLE_PER_CLASS(Code) | | A table per concrete entity class
|
|
|