ObjectDB ObjectDB

getTransactionalObjectId(pc) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
Object getTransactionalObjectId(
  PersistenceCapable pc
)

Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the current identity as changed in the transaction.
Parameters:
pc - the calling PersistenceCapable instance
Returns:
the object representing the JDO identity of the calling instance
Since:
JDO 1.0