Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: EmbeddedId.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
import java.lang.annotation.ElementType;
6
import java.lang.annotation.Retention;
7
import java.lang.annotation.RetentionPolicy;
8
import java.lang.annotation.Target;
9
 
10
/**
11
 * Is applied to a persistent field or property of an entity class or mapped superclass to denote
12
 * a composite primary key that is an embeddable class. The embeddable class must be annotated
13
 * as Embeddable.
14
 *
15
 * @author Emmanuel Bernard
16
 */
17
@Target({ElementType.METHOD, ElementType.FIELD})
18
@Retention(RetentionPolicy.RUNTIME)
19
public @interface EmbeddedId {}