Top Description Methods
org.eclipse.persistence.annotations

public @Interface ExistenceChecking

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .Retention

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.
Author
Guy Pelletier
Since
Eclipselink 1.0
See Also
org.eclipse.persistence.annotations.ExistenceType, org.eclipse.persistence.queries.DoesExistQuery

Method Summary

Modifier and TypeMethod and Description
public ExistenceType
value()

(Optional) Set the existence check for determining if an insert or update should occur for an object.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public ExistenceType value()

(Optional) Set the existence check for determining if an insert or update should occur for an object.