Java EE 5 SDK

Annotation Type Embedded

public @interface Embedded

Defines a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable.


       @AttributeOverride(name="endDate", column=@Column("EMP_END"))
   public EmploymentPeriod getEmploymentPeriod() { ... }

Java Persistence 1.0

Java EE 5 SDK

Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Scripting on this page tracks web page traffic, but does not change the content in any way.