48 words

getPersistenceManager(pc) - JDO JDOHelper's static method

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.