Home » Search

About detach

41-50 of 156Refresh
JDO Doc
9

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
9

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
9

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
8

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
8

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
8

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
8

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
7

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
7

javax.jdo.Constants

2.1 String PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT The name of the persistence manager factory element's "detach-all-on-commit" attribute. The name of the persistence manager factory element's "detach ... See Also: PersistenceManagerFactory.getCopyOnAttach() String PROPERTY_DETACH_ALL_ON_COMMIT "javax.jdo
JDO Doc
7

javax.jdo.PersistenceManagerFactory

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