@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CompositeMember
ElementCollection,
CollectionTable,
A CompositeMember can be specified on within an Entity, MappedSuperclass
and Embeddable class.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The name of a target composite member persistence unit to which element table belongs (if differs from source composite member persistence unit)
|