About detached

51-60 of 158Refresh
JPA Doc
7

javax.persistence.CascadeType

. The value cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0 CascadeType ALL Cascade all operations Cascade all operations Since: JPA 1.0 CascadeType DETACH Cascade detach operation Cascade detach operation Since: JPA 2.0 CascadeType MERGE Cascade merge operation
JDO Doc
7

setCopyOnAttach(flag)

setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly and change their state from detached-clean to persistent-clean or from detached-dirty to persistent
JDO Doc
7

setCopyOnAttach(flag)

set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly and change their state from detached-clean to persistent-clean or from detached-dirty to persistent-dirty. Parameters: flag - Since: JDO 2.1 See Also: getCopyOnAttach()
JDO Doc
6

isDetached(pc)

Static Method javax.jdo.JDOHelper boolean isDetached(   Object pc ) Tests whether the parameter instance has been detached. Instances that have been detached return true. Transient instances return false. Parameters: pc - the instance Returns: true if this instance is detached. Since: JDO 2.0 See Also: PersistenceCapable.jdoIsDetached()
JDO Doc
6

jdoIsDetached()

Method javax.jdo.spi.PersistenceCapable boolean jdoIsDetached() Tests whether this object has been detached. Instances that have been detached return true. Transient instances return false. Returns: true if this instance is detached. Since: JDO 2.0 See Also: javax.jdo.JDOHelper.isDetached(Object pc)
JDO Doc
6

makeTransient(pc, useFetchPlan)

instances is as specified by the FetchPlan. Unlike detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface. Parameters: pc - the root instance to make transient
JDO Doc
6

makeTransientAll(pcs, useFetchPlan)

detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface
JDO Doc
6

makeTransientAll(pcs, useFetchPlan)

detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface
JDO Doc
6

makeTransientAll(useFetchPlan, pcs)

detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface
JDO Doc
6

postDetach(event)

after the detached copy is made. It is called after the method DetachCallback.jdoPreDetach is called on the detached instance. Parameters: event - the detach event. Since: JDO 2.0