JDO Static Method
in javax.jdo.JDOHelper

boolean isDirty(
  Object pc
)


Tests whether the parameter instance is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction 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 has been modified in the current transaction.
See Also:
javax.jdo.spi.StateManager(PersistenceCapable pc,String fieldName)
PersistenceCapable.jdoIsDirty()
Since:
JDO 1.0