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