About detach

11-20 of 158Refresh
JDO Doc
52

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
52

InstanceLifecycleEvent.DETACH

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

ObjectState.DETACHED_CLEAN

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

ObjectState.DETACHED_DIRTY

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

Working with JPA Entity Objects [2011-04-18]

: New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... deletion are provided in the Deleting Entities section. The last state, Detached, represents entity ... of an EntityManager become detached when the EntityManager is closed. Working with detached objects
Manual
36

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... deletion are provided in the Deleting Entities section. The last state, Detached, represents entity ... of an EntityManager become detached when the EntityManager is closed. Working with detached objects
JDO Doc
30

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
25

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
21

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
21

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