ObjectDB ObjectDB

isDetached(pc) - JDO JDOHelper's static method

Static Method
javax.jdo.JDOHelper
boolean isDetached(
  Object pc
)

Tests whether the parameter instance has been detached. Instances that have been detached return true.

Transient instances return false.

Parameters:
pc - the instance
Returns:
true if this instance is detached.
Since:
JDO 2.0
See Also:
PersistenceCapable.jdoIsDetached()