Example:
@Embedded
@AttributeOverrides({
@AttributeOverride(name="startDate",
column=@Column("EMP_START")),
@AttributeOverride(name="endDate",
column=@Column("EMP_END"))
})
public EmploymentPeriod getEmploymentPeriod() { ... }
AttributeOverride
| Modifier and Type | Method and Description |
|---|---|
| public AttributeOverride[] |
| value | back to summary |
|---|---|
| public AttributeOverride[] value() (Required) One or more field or property mapping overrides. | |