Hitachi

uCosminexus Application Server Compatibility Guide


8.12.31 @MappedSuperclass

Organization of this subsection

(1) Description

This annotation specifies a mapped superclass.

A mapped superclass is used for inheritance. Hence, there are no tables corresponding to this class. Except for mapping to a subclass, and the inheritance of the related mapping information, the mapped superclass is mapped to the table in the same way as an entity.

The mapping information can be overridden in the subclass using @AttributeOverride.

The applicable target is class.

(2) Element

@MappedSuperclass does not have attributes.