|
EclipseLink 1.2.1, build 'v20110927-r10181' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface PrimaryKey
The PrimaryKey annotation allows advanced configuration of the Id. A validation policy can be given that allows specifying if zero is a valid id value. The set of primary key columns can also be specified precisely.
| Optional Element Summary | |
|---|---|
Column[] |
columns
(Optional) Used to specify the primary key columns directly. |
IdValidation |
validation
(Optional) Configures what id validation is done. |
public abstract IdValidation validation
public abstract Column[] columns
|
EclipseLink 1.2.1, build 'v20110927-r10181' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||