JDO Static Method
in javax.jdo.JDOHelper

PersistenceManager getPersistenceManager(
  Object pc
)


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

Transient non-transactional instances and instances of classes that do not implement PersistenceCapable return null.

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