Fast Object Database for Java - with JPA/JDO support

setCopyOnAttach(flag) - JDO PersistenceManager's method

Sets the copyOnAttach setting.

CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly and change their state from detached-clean to persistent-clean or from detached-dirty to persistent-dirty.

Parameters:
flag -
Since:
JDO 2.1
See Also:
getCopyOnAttach()