Internal Website Search

1-10 of 172 resultsRefresh

Detached Entity Objects

Detached entity objects are objects in a special detached objects are limited in functionality: Many JPA methods do not accept detached objects (e.g. lock

detach(entity)

.EntityManagervoid detach(  Object entity) detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized to the database. Entities which previously referenced the detached entity will continue

CascadeType.DETACH

Enum Constant javax.persistence.CascadeTypeDETACH Cascade detach operation Since: JPA 2.0

javax.jdo.spi.Detachable

class="type">Detachable This interface is implemented by classes that can be detached from the persistence context and later attached. The interface ... >The detached state is stored as a field in each instance of Detachable. The field is serialized so as

jdoReplaceDetachedState()

Method Detachable" title="Interface in javax.jdo.spi">javax.jdo.spi.Detachable ... the StateManager with the current detached state instance as a parameter and replaces the current detached

jdoPostDetach(detached)

.DetachCallbackvoid jdoPostDetach(  Object detached) on the detached instance after the copy is made. Parameters: detached - The corresponding (attached

FetchPlan.DETACH_UNLOAD_FIELDS

>int DETACH_UNLOAD_FIELDS For use with detachment. Since: JDO 2.0

FetchPlan.DETACH_LOAD_FIELDS

>int DETACH_LOAD_FIELDS For use with detachment. Since: JDO 2.0

PersistenceCapable.detachable

.annotations">javax.jdo.annotations.PersistenceCapableString detachable Whether this class or interface is detachable.

Constants.PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT

>String PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT The name of the persistence manager factory element's "detach-all-on-commit" attribute. Since: JDO 2.1