jdoNewObjectIdInstance() - JDO PersistenceCapable's method
Method javax.jdo.spi.PersistenceCapable
Object jdoNewObjectIdInstance()
For classes using single field identity, this method must be called on an instance of a persistence-capable class with its primary key field initialized (not null), or a JDONullIdentityException
is thrown.
The instance returned is initialized with the value(s) of the primary key field(s) of the instance on which the method is called.
- Returns:
- the new instance created.
- Since:
- JDO 1.0