This table lists the fields available on the Inheritance area in the JPA Details view for each entity type.
Property | Description | Default | Available for Entity Type |
---|---|---|---|
Strategy |
Specify the strategy to use when mapping a class or class hierarchy:
This field corresponds to the |
Single table |
|
Specify the discriminator value used to differentiate an entity in this inheritance hierarchy. The value must conform to the specified Discriminator Type. |
|
||
These fields are available when using a Single or Joined inheritance strategy. This field corresponds to the Use the Details area to define the Length and Column definition of this Discriminator Column. |
|||
Name |
Name of the discriminator column |
|
|
Type |
Set this field to set the discriminator type to |
String |
|
Length |
The column length for String-based discriminator types. |
0 |
|
Column definition |
The SQL fragment that is used when generating the DDL for the discriminator column. |
|
|
Primary Key Join Columns |
Use to override the default primary key join columns. Select Override Default, then click Add to select new Join Column with the Add Primary Key Join Column dialog. This field corresponds with @ |
|
Refer to "Specifying entity inheritance" for additional information.
Related tasks
Related reference