|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface ExistenceChecking
The ExistenceChecking annotation is used to specify the type of checking EclipseLink should use when determining if an entity is new or existing. It is specifically used on a merge() operation to determine if only the cache should be used to determine if an object exists, or the object should be read (from the database or cache). By default the object is read. An existence-checking specification is supported on an Entity or MappedSuperclass annotation.
org.eclipse.persistence.annotations.ExistenceType.
,
DoesExistQuery
Optional Element Summary | |
---|---|
ExistenceType |
value
(Optional) Set the existence check for determining if an insert or update should occur for an object. |
public abstract ExistenceType value
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |