getPersistenceManager(pc) - JDO JDOHelper's static method
Static Method javax.jdo.JDOHelper
PersistenceManager getPersistenceManager(
Object pc
)
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
- thePersistenceCapable
instance.
- Returns:
- the
PersistenceManager
associated with the parameter instance.
- Since:
- JDO 1.0