Home » Search

About detach

41-50 of 153Refresh
JDO Doc
10

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
10

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
9

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
9

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

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
9

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
8

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
8

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
8

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
JPA Doc
8

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