43 words

getTransactionalObjectId(pc) - JDO StateInterrogation's method

Method
javax.jdo.spi.StateInterrogation
Object getTransactionalObjectId(
  Object pc
)

Return a copy of the JDO identity associated with the parameter instance.

Instances unknown by the implementation return null.

Parameters:
pc - the instance.
Returns:
a copy of the ObjectId of the parameter instance as modified in this transaction.
Since:
JDO 2.0
See Also:
PersistenceCapable.jdoGetTransactionalObjectId()
PersistenceManager.getObjectById(Object oid, boolean validate)

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.