View as "text/plain" |
Blame |
Last modification |
View Log
| RSS feed
1
//$Id: EmbeddedId.java 11282 2007-03-14 22:05:59Z epbernard $
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
package javax.persistence;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Is applied to a persistent field or property of an entity class or mapped superclass to denote
* a composite primary key that is an embeddable class. The embeddable class must be annotated
* as Embeddable.
*
* @author Emmanuel Bernard
*/
@
Target({ElementType.
METHOD,
ElementType.
FIELD})
@
Retention(RetentionPolicy.
RUNTIME)
public @
interface EmbeddedId
{}