|
EclipseLink 2.2.0, build 'v20110202-r8913' 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 | |
---|---|
CacheKeyType |
cacheKeyType
(Optional) Configures what cache key type is used to store the object in the cache. |
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 CacheKeyType cacheKeyType
public abstract Column[] columns
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |