ObjectDB ObjectDB

jdoCopyKeyFieldsToObjectId(oid) - JDO PersistenceCapable's method

Method
javax.jdo.spi.PersistenceCapable
void jdoCopyKeyFieldsToObjectId(
  Object oid
)

Copy fields from this PersistenceCapable instance to the Object Id instance. For classes using single field identity, this method always throws JDOUserException.
Parameters:
oid - the ObjectId target of the key fields
Since:
JDO 1.0