Package org.hibernate.annotations
Annotation Interface AnyDiscriminatorValue
@Target({METHOD,FIELD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Repeatable(AnyDiscriminatorValues.class)
public @interface AnyDiscriminatorValue
Specifies the mapping of a single any-valued
discriminator value to its corresponding entity type.
This annotation may be applied:
- Since:
- 6.0
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe discriminator valueClass<?>
The corresponding entity