@Embeddable is an annotation used in Java to suggest that a class is stored as an intrinsic part of an owning entity and share the identity of the entity. It is a part of JPA implementations.
@Embeddable is an annotation used in java to suggest that a class is stored as an intrinsic part of an owning entity and share the identity of the entity. It is a part of jpa implementations/frameworks such as hibernate. This annotation will suggest to the framework that the class is a part of another entity and will treat any mapped attribute within the class as a mapped attribute of the containing entity.
It corresponds to other annotations which may be used by the owning Entity such as @Embedded and @Entity.