Annotation Interface JoinTable


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface JoinTable
Subset of the JPA join table annotation allowing support for bidirectional and unidirectional one-to-many join fetches only.

Unlike the JPA version this is simplification and relies on a thid

Since:
1.0.0
Author:
graemerocher
  • Element Details

    • name

      String name
      Returns:
      The name of the join table
      Default:
      ""
    • joinColumns

      JoinColumn[] joinColumns
      Returns:
      The join columns to use.
      Default:
      {}
    • inverseJoinColumns

      JoinColumn[] inverseJoinColumns
      Returns:
      The inverse join columns to use.
      Default:
      {}
    • alias

      String alias
      Returns:
      The alias to use for the query
      Default:
      ""