Boolean isNew(
Object pc
)
Tests whether the parameter instance has been newly made persistent. Instances that have been made persistent in the current transaction return
Boolean.TRUE
. Instances known by the implementation to be non-new return Boolean.FALSE
.
Instances not recognized by the implementation return null
.
- Parameters:
pc
- the instance.
- Return:
-
Boolean.TRUE
if the parameter instance was made persistent in the current transaction.
- See Also:
PersistenceManager.makePersistent(Object pc)
PersistenceCapable()
- Since:
- JDO 2.0