43 words

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()

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.