About oid

11-20 of 57Refresh
JDO Doc
60

getObjectById(oid)

Method javax.jdo.PersistenceManager Object getObjectById(   Object oid ) Looks up the instance corresponding to the specified oid. This is equivalent to getObjectById(oid, true); Parameters: oid - The object id of the object to load Returns: the corresponding persistent instance Since: JDO 1.0
JDO Doc
60

newInstance(pcClass, sm, oid)

 sm,   Object oid ) Create a new instance of the class and assign its jdoStateManager and key values from the ObjectId. If the oid parameter is null, no key values are copied. The new instance ... - the StateManager which will own the new instance. oid - the ObjectId instance from which to copy key field
JDO Doc
59

jdoNewInstance(sm, oid)

,   Object oid ) Return a new instance of this class, with the jdoStateManager set to the parameter, key fields initialized to the values in the oid, and jdoFlags set to LOAD_REQUIRED. This method is used as ... . Parameters: sm - the StateManager that will own the new instance. oid - an instance of the object id
JDO Doc
57

evict(oid)

Method javax.jdo.datastore.DataStoreCache void evict(   Object oid ) Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0
JDO Doc
57

evict(oid)

Method javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache void evict(   Object oid ) Parameters: oid - Since: JDO 2.0
JDO Doc
57

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Collection oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0
JDO Doc
57

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Object... oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0
JDO Doc
57

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache void evictAll(   Object... oids ) Parameters: oids - Since: JDO 2.0
JDO Doc
57

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache void evictAll(   Collection oids ) Parameters: oids - Since: JDO 2.0
JDO Doc
57

jdoCopyKeyFieldsToObjectId(oid)

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