Module eclipselink
Annotation 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.
- See Also:
- Author:
- Guy Pelletier
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSet the existence check for determining if an insert or update should occur for an object.
-
Element Details
-
value
ExistenceType valueSet the existence check for determining if an insert or update should occur for an object.- Default:
CHECK_CACHE
-