Annotation Type InstantiationCopyPolicy
-
@Target(TYPE) @Retention(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 if weaving is not used, or if property access is used. A special CloneCopyPolicy is used if weaving and field access is used. An InstantiationCopyPolicy should be specified on an Entity, MappedSuperclass or Embeddable.Example:
@Entity @InstantiationCopyPolicy public class Employee {
- See Also:
InstantiationCopyPolicy
,CloneCopyPolicy
,CopyPolicy
- Author:
- tware