| Is used to override mappings of multiple properties or fields.
Example:
@Embedded
@AttributeOverrides({
@AttributeOverride(name="startDate", column=@Column("
EMP_START")),
@AttributeOverride(name="endDate", column=@Column("EMP_END"))
})
public EmploymentPeriod getEmploymentPeriod() { ... }
since: Java Persistence 1.0 |