@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:
- Author:
- tware
- See Also:
InstantiationCopyPolicy
,
CloneCopyPolicy
,
CopyPolicy