|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=SOURCE) public @interface GvNIXEntityOCCChecksum
Optimistic Concurrency Control of gvNIX
This annotation manages the OCC aspect for a Entity that hasn't a persistent
javax.persistence.Version
and no way to have it.
The control is based on a MD5 value computed form a string generated over all persistent entity properties values.
Optional Element Summary | |
---|---|
String |
digestMethod
Digest Method to use for checksum's compute. |
String |
fieldName
Name for checksum entity field. |
public abstract String fieldName
Name for checksum entity field. If dosen't exist the field will be created.
occChecksum
is the default value.
public abstract String digestMethod
Digest Method to use for checksum's compute.
md5
is the default value.
MessageDigest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |