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
- thePersistenceCapable
instance.
- Return:
- the
PersistenceManager
associated with the parameter instance.
- See Also:
PersistenceCapable.jdoGetPersistenceManager
()
- Since:
- JDO 1.0