JDO Method
in javax.jdo.spi.StateManager

boolean isNew(
  PersistenceCapable pc
)


Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true.

Transient instances return false.

Parameters:
pc - the calling PersistenceCapable instance
Return:
true if this instance was made persistent in the current transaction.
See Also:
PersistenceManager.makePersistent(Object pc)
Since:
JDO 1.0