JDO Static Method
in javax.jdo.JDOHelper

boolean isPersistent(
  Object pc
)


Tests whether the parameter instance is persistent. Instances that represent persistent objects in the data store return true.

Transient instances and instances of classes that do not implement PersistenceCapable return false.

Parameters:
pc - the PersistenceCapable instance.
Return:
true if the parameter instance is persistent.
See Also:
PersistenceManager.makePersistent(Object pc)
PersistenceCapable.jdoIsPersistent()
Since:
JDO 1.0