58 words

detachCopy(pc) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
T detachCopy(
  T pc
)

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 of fetching for the graph of instances reachable from the pc parameter. The state of fields in the affected instances is as specified by the FetchPlan.
Parameters:
pc - the instance to detach
Returns:
the detached instance
Since:
JDO 2.0
See Also:
detachCopyAll(Object[])

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.