DiscriminatorValue.value - JPA annotation element
Annotation Element javax.persistence.DiscriminatorValue
String value
(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 will be 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