Package org.hibernate.annotations
Annotation Type AnyDiscriminator
-
@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface AnyDiscriminator
Simplified form for describing the discriminator value mapping as a discrete set. Follows the pattern of JPA'sDiscriminatorColumn.discriminatorType()
. Can be used in conjunction withJdbcType
orJdbcTypeCode
to further describe the underlying mapping.JdbcType
orJdbcTypeCode
can also be used without AnyDiscriminator.- Since:
- 6.0
- See Also:
Any
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description jakarta.persistence.DiscriminatorType
value
The simplified discriminator value mapping
-