getPersistenceManager(pc) - JDO StateInterrogation's method

Method
javax.jdo.spi.StateInterrogation
PersistenceManager getPersistenceManager(
  Object pc
)

Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager.

Transient non-transactional instances return null.

Instances unknown by the implementation return null.

Parameters:
pc - the instance.
Returns:
the PersistenceManager associated with the parameter instance.
Since:
JDO 2.0
See Also:
PersistenceCapable.jdoGetPersistenceManager()