注释类型 AnyMetaDef

    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      String idType
      Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.
      String metaType
      Names the discriminator Hibernate Type for this Any/ManyToAny mapping.
      MetaValue[] metaValues
      Maps discriminator values to the matching corresponding entity types.
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      String name
      If defined, assign a global meta definition name to be used in an @Any or @ManyToAny annotation.
    • 元素详细资料

      • metaType

        String metaType
        Names the discriminator Hibernate Type for this Any/ManyToAny mapping. The default is to use StringType
      • idType

        String idType
        Names the identifier Hibernate Type for the entity associated through this Any/ManyToAny mapping.
      • metaValues

        MetaValue[] metaValues
        Maps discriminator values to the matching corresponding entity types.
      • name

        String name
        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.
        默认值:
        ""