Subversion Repositories WebE

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: Embeddable.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB Specification Copyright 2004 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
import java.lang.annotation.Retention;
6
import java.lang.annotation.Target;
7
 
8
import static java.lang.annotation.ElementType.*;
9
import static java.lang.annotation.RetentionPolicy.*;
10
 
11
 
12
/**
13
 * Defines a class whose instances are stored as an intrinsic part of an owning entity and share
14
 * the identity of the entity. Each of the persistent properties or fields of the embedded object
15
 * is mapped to the database table for the entity. Only Basic, Column, Lob, Temporal, and
16
 * Enumerated mapping annotations may portably be used to map the persistent fields or properties
17
 * of classes annotated as Embeddable.
18
 *
19
 * @author Emmanuel Bernard
20
 */
21
@Target({TYPE}) @Retention(RUNTIME)
22
public @interface Embeddable {}