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

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.

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.