AttributeOverrides
Target: TYPE, METHOD, FIELD
- Implemented Interfaces:
Annotation
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() { ... }
- See Also:
AttributeOverride
- Since:
- JPA 1.0
Public Annotation Attributes
- Since:
- JPA 1.0