JPA Annotation

SecondaryTables

Target: TYPE
Implemented Interfaces:
Annotation

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:
JPA 1.0

Public Annotation Attributes

SecondaryTable[] value default null
(Required) The secondary tables for an entity.
Since:
JPA 1.0