Home » JDO » PersistenceCapable » jdoCopyKeyFieldsToObjectId(oid) - JDO PersistenceCapable's method

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

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.