EclipseLink 1.0_1.0 M7 - 20080508 API Reference - Incubation

org.eclipse.persistence.annotations
Annotation Type ExistenceChecking


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ExistenceChecking

The ExistenceChecking annotation is used to specify the type of checking EclipseLink should use when updating entities. An existence-checking specification is supported on an Entity or MappedSuperclass annotation.

See Also:
org.eclipse.persistence.annotations.ExistenceType., DoesExistQuery
Author:
Guy Pelletier
Since:
Eclipselink 1.0

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

value

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

Default:
CHECK_CACHE

EclipseLink 1.0_1.0 M7 - 20080508 API Reference - Incubation