Home » JDO » StateManager » getTransactionalObjectId(pc) - JDO StateManager's method

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

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.