TopLink Wiki

Main
About
Javadoc
Forum
Resources

RecentChanges
About Wiki
Find Pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
CloneObject
TopLinkTips




JSPWiki v2.0.52


CopyObject


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.

See Session#copyObject

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


Edit this page   More info...   Attach file...
This page last changed on 15-Feb-2005 12:49:36 PST by RenaudWaldura.