Fast Object Database for Java - with JPA/JDO support

detachCopy(pc) - JDO PersistenceManager's method

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[])