JDO Method
in 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
Return:
the detached instance
See Also:
detachCopyAll(Object[])
Since:
JDO 2.0