Hitachi

uCosminexus Application Server Compatibility Guide


8.12.11 @Embedded

Organization of this subsection

(1) Description

This annotation specifies the persistence property or persistence field indicating the instance value of the embedded class within the entity class.

If you want to override the column mapping declared within the embedded class, use either @AttributeOverride or @AttributeOverrides.

The applicable targets are method and field.

(2) Element

@Embedded does not have attributes.