Package jakarta.persistence
Annotation 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.
Example 2: Multiple secondary tables with differently named primary key columns.
- Since:
- 1.0
-
Required Element Summary
Modifier and TypeRequired ElementDescription(Required) The secondary tables for an entity.
-
Element Details
-
value
SecondaryTable[] value(Required) The secondary tables for an entity.
-