Package org.hibernate.annotations

Annotation Type ForeignKey

    • Required Element Summary

      Required Elements 
      Modifier and TypeRequired ElementDescription
      Stringname
      Deprecated, for removal: This API element is subject to removal in a future version.
      Name of the foreign key of aOneToMany,ManyToOne, orOneToOne association.
    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional ElementDescription
      StringinverseName
      Deprecated.
      this member is currently ignored and has no effect
    • Element Detail

      • name

        String name
        Deprecated, for removal: This API element is subject to removal in a future version.
        Name of the foreign key of aOneToMany,ManyToOne, orOneToOne association. May also be applied to the owning side aManyToMany association.
      • inverseName

        @DeprecatedString inverseName
        Deprecated.
        this member is currently ignored and has no effect
        Used for the non-owning side of aManyToMany association. Ignored for other association cardinalities.
        Default:
        ""