NPersistence Reference Guide
The DiscriminatorColumn type exposes the following fields.
Fields
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | ColumnDefinition | (Optional) The SQL fragment that is used when generating the DDL
for the discriminator column.
Defaults to the provider-generated SQL to create a column
of the specified discriminator type.
|
![]() | DiscriminatorType | (Optional) The type of object/column to use as a class discriminator.
Defaults to STRING()()()().
|
![]() | Length |
(Optional) The column length for String-based discriminator types.
Ignored for other discriminator types.
|
![]() | Name | (Optional) The name of column to be used for the discriminator.
|