Annotation Type SecondaryTables


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface SecondaryTables
    Specifies multiple secondary tables for an entity.

    Example 1: Multiple secondary tables assuming primary key columns are named the same in all tables. {@snippet :

    Since:
    1.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      SecondaryTable[] value
      (Required) The secondary tables for an entity.
    • Element Detail

      • value

        SecondaryTable[] value
        (Required) The secondary tables for an entity.