TopLink Wiki
Main
RecentChanges
Set your name in
UserPreferences
Referenced by
JSPWiki v2.0.52
|
TopLink includes a utility method to create an exact copy (a clone) of an object. An ObjectCopyingPolicy can be used to control how much of the object gets copied (the depth of copy). This works only for TopLink-enabled objects, as the descriptor is used to copy the object.
About NO_CASCADE
When using NO_CASCADE TopLink does not even consider those attributes that are relationship mappings. They will not be copied and the values in the copy, for those relationship attributes, will remain to be what they were set to in the class constructor provided by the developer (default is the zero parameter constructor). forum:286735
Gotcha
TopLink assumes the object mapped to by a TypeConversionMapping? is a simple object and does not require cloning. forum:288692
|
||||||