About detach

41-50 of 164Refresh
JDO Doc
11

detachCopyAll(pcs)

Method javax.jdo.PersistenceManager Collection detachCopyAll(   Collection pcs ) Detach the specified instances from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph
JDO Doc
11

javax.jdo.spi.StateManager

for the field Since: JDO 1.0 Object[] replacingDetachedState( Detachable pc, Object[] state) The replacement value of the detached state in the calling instance. The replacement value of the detached state in the calling instance. Parameters: pc - the calling Detachable instance state - the current value
JDO Doc
11

setDetachAllOnCommit(flag)

, during beforeCompletion all cached instances are prepared for detachment according to the fetch plan in effect ... callback, all detachable persistent instances in the cache transition to detached; non-detachable persistent instances transition to transient; and detachable instances can be serialized as detached
JDO Doc
11

javax.jdo.listener.InstanceLifecycleEvent

.0 int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO ... getDetachedInstance() Returns the detached instance involved in the event. Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null
JDO Doc
10

javax.jdo.spi.PersistenceCapable

is persistent, transactional, dirty, new, deleted, or detached; and to get its associated ... .deletePersistent(Object pc) boolean jdoIsDetached() Tests whether this object has been detached. Tests whether this object has been detached. Instances that have been detached return true. Transient
JDO Doc
10

replacingDetachedState(pc, state)

Method javax.jdo.spi.StateManager Object[] replacingDetachedState(   Detachable pc,   Object[] state ) The replacement value of the detached state in the calling instance. Parameters: pc - the calling Detachable instance state - the current value of the detached state Returns: the replacement value for the detached state Since: JDO 2.0
JDO Doc
10

javax.jdo.JDOHelper

whether the instance is persistent, transactional, dirty, new, deleted, or detached ... whether the parameter instance has been detached. Tests whether the parameter instance has been detached. Instances that have been detached return true. Transient instances return false. Parameters: pc - the instance
JDO Doc
10

javax.jdo.listener.DetachCallback

javax.jdo.listener Interface DetachCallback This interface is used to notify instances of detach events. Since: JDO 2.0 void jdoPostDetach(Object detached) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy
JDO Doc
9

isDetached(pc)

whether the parameter instance is detached. Instances that are detached return Boolean.TRUE. Instances known by the implementation to be non-detached return Boolean.FALSE. Instances not recognized by the implementation ... is detached. Since: JDO 2.0 See Also: PersistenceManager.detachCopy(Object pc) PersistenceCapable.jdoIsDeleted()
JDO Doc
9

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