EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

javax.persistence
Annotation Type Id


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Id

Specifies the primary key property or field of an entity.

   Example:

Since:
Java Persistence API 1.0


EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference