EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.annotations
Annotation Type InstantiationCopyPolicy


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

An InstantiationCopyPolicy is used to set an org.eclipse.persistence.descriptors.copying.InstantiationCopyPolicy on an Entity. InstantiationCopyPolicy is the default CopyPolicy in EclipseLink and therefore this configuration option is only used to override other types of copy policies An InstantiationCopyPolicy should be specified on an Entity, MappedSuperclass or Embeddable. Example:

See Also:
InstantiationCopyPolicy, CloneCopyPolicy, CopyPolicy
Author:
tware


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference