Package org.hibernate.annotations
Annotation Type AnyMetaDef
-
@Target({PACKAGE,TYPE,METHOD,FIELD}) @Retention(RUNTIME) @Repeatable(AnyMetaDefs.class) public @interface AnyMetaDef
- See Also:
AnyMetaDefs
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
idType
Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.java.lang.String
metaType
Names the discriminator Hibernate Type for this Any/ManyToAny mapping.MetaValue[]
metaValues
Maps discriminator values to the matching corresponding entity types.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
name
If defined, assign a global meta definition name to be used in an @Any or @ManyToAny annotation.
-
-
-
Element Detail
-
metaType
java.lang.String metaType
Names the discriminator Hibernate Type for this Any/ManyToAny mapping. The default is to useStringType
-
-
-
metaValues
MetaValue[] metaValues
Maps discriminator values to the matching corresponding entity types.
-
-