Annotation Interface JoinColumn


Subset of the JPA join column annotation.
Since:
2.4.0
Author:
Denis Stepanov
  • Element Details

    • name

      String name
      The name of the foreign column.
      Returns:
      The name of the foreign column
      Default:
      ""
    • referencedColumnName

      String referencedColumnName
      The name of the column referenced by this foreign column.
      Returns:
      The referenced column name
      Default:
      ""
    • columnDefinition

      String columnDefinition
      Used to define the mapping. For example in the case of SQL this would be the column definition. Example: BLOB NOT NULL.
      Returns:
      A string-based definition of the property type.
      Default:
      ""