ObjectDB ObjectDB

getTransactionalObjectId(pc) - JDO JDOHelper's static method

Static Method
javax.jdo.JDOHelper
Object getTransactionalObjectId(
  Object pc
)

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