ObjectDB ObjectDB

makeDirty(pc, fieldName) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
void makeDirty(
  PersistenceCapable pc,
  String fieldName
)

Mark the associated PersistenceCapable field dirty.

The StateManager will make a copy of the field so it can be restored if needed later, and then mark the field as modified in the current transaction.

Parameters:
pc - the calling PersistenceCapable instance
fieldName - the name of the field
Since:
JDO 1.0