FileDocCategorySizeDatePackage
Embeddable.javaAPI DocGlassfish v2 API2888Fri May 04 22:34:06 BST 2007javax.persistence

Embeddable

public class 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 {@link Basic}, {@link Column}, {@link Lob}, {@link Temporal}, and {@link Enumerated} mapping annotations may portably be used to map the persistent fields or properties of classes annotated as {@link Embeddable}.

Note that the {@link Transient} annotation may be used to designate the non-persistent state of an embeddable class.

since
Java Persistence 1.0

Fields Summary
Constructors Summary
Methods Summary