ObjectDB ObjectDB

isDirty(pc) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
boolean isDirty(
  PersistenceCapable pc
)

Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true.

Transient nontransactional instances return false.

Parameters:
pc - the calling PersistenceCapable instance
Returns:
true if this instance has been modified in the current transaction.
Since:
JDO 1.0
See Also:
PersistenceCapable.jdoMakeDirty(String fieldName)