Module eclipselink
Annotation Interface InstantiationCopyPolicy
An InstantiationCopyPolicy is used to set an 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:
- Author:
- tware