Home » Search

About detach

11-20 of 156Refresh
JDO Doc
55

PersistenceCapable.detachable

Annotation Element javax.jdo.annotations.PersistenceCapable String detachable Whether this class or interface is detachable. Default value: "" Since: JDO 2.1
JDO Doc
54

Constants.PROPERTY_DETACH_ALL_ON_COMMIT

Static Field javax.jdo.Constants String PROPERTY_DETACH_ALL_ON_COMMIT "javax.jdo.option.DetachAllOnCommit" Since: JDO 2.1 See Also: PersistenceManagerFactory.getDetachAllOnCommit()
JDO Doc
54

InstanceLifecycleEvent.DETACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int DETACH Since: JDO 2.0
JDO Doc
54

ObjectState.DETACHED_CLEAN

Enum Constant javax.jdo.ObjectState DETACHED_CLEAN Since: JDO 1.0
JDO Doc
54

ObjectState.DETACHED_DIRTY

Enum Constant javax.jdo.ObjectState DETACHED_DIRTY Since: JDO 1.0
Manual
46

Advanced JPA Topics

Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events.
JDO Doc
31

javax.jdo.PersistenceManager

.0 See Also: deletePersistent(Object pc) T detachCopy(T pc) Detach the specified instance from the PersistenceManager. Detach the specified instance from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope
Manual
26

Retrieving JPA Entity Objects

policy also affects objects that become detached (e.g. when the EntityManager is closed). Transparent activation is not supported for detached objects. Therefore, only content that has already been fetched from the database is available in objects that are detached. JPA 2 introduces methods
Issue
22

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: Retrieval by navigation from detached objects is not supported, so only persistent fields that have been loaded before detachment should be used. As explained on the Object DB vs EclipseLink/TopLink
Forum
22

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

(and so lazy loading would initially work), they become detached once the EntityManager under control ... are involved) to ensure the desired collections are resolved already before detachment, losing ... a FETCH JOIN as described here: Detach JPA objects with lazy initialized properties This has the big