@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Embeddable
Defines a class whose instances are stored as an intrinsic part of an owning entity and share
the identity of the entity. Each of the persistent properties or fields of the embedded object
is mapped to the database table for the entity. Only Basic, Column, Lob, Temporal, and
Enumerated mapping annotations may portably be used to map the persistent fields or properties
of classes annotated as Embeddable.
- Author:
- Emmanuel Bernard