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

getObjectId(pc) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
Object getObjectId(
  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 identity as of the beginning of 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.