ObjectDB ObjectDB

jdoGetPersistenceManager() - JDO PersistenceCapable's method

Method
javax.jdo.spi.PersistenceCapable
PersistenceManager jdoGetPersistenceManager()

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

Transient non-transactional instances return null.

This method always delegates to the StateManager if it is non-null.

Returns:
the PersistenceManager associated with this instance.
Since:
JDO 1.0