JPA Annotation Attribute
in jakarta.persistence.DiscriminatorValue

String value default null


(Optional) The value that indicates that the row is an entity of the annotated entity type.

If the DiscriminatorValue annotation is not specified and a discriminator column is used, a provider-specific function is used to generate a value representing the entity type. If the DiscriminatorType is STRING, the discriminator value default is the entity name.

Since:
JPA 1.0