About oid

31-40 of 57Refresh
JDO Doc
57

unpinAll(oids)

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

unpinAll(oids)

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

javax.jdo.PersistenceManager

getObjectById(Object oid) Looks up the instance corresponding to the specified 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
JDO Doc
39

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

. Since: JDO 2.0 void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0 void evict(Object oid) Parameters: oid - Since: JDO 2. Parameters: oid
JDO Doc
26

javax.jdo.spi.PersistenceCapable

 fm, Object oid) Copy fields to an outside consumer from the key fields in the ObjectId. Copy fields ... ) { EmployeeKey oid = (EmployeeKey)objectId; fm.storeIntField (0, oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary); } The implementation is responsible for implementing
JDO Doc
24

javax.jdo.datastore.DataStoreCache

void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict ... are evicted from the second-level cache. Since: JDO 2.0 void evictAll(Object... oids) Evict the parameter
JDO Doc
23

javax.jdo.spi.JDOImplHelper

1.0 void copyKeyFieldsFromObjectId(Class pcClass, ObjectIdFieldConsumer fm, Object oid) Copy fields ... jdoCopyKeyFieldsFromObjectId (PersistenceCapable oid, ObjectIdFieldConsumer fm) { fm.storeIntField (0, oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary
JDO Doc
8

javax.jdo.JDOHelper

.getObjectById(Object oid, boolean validate) Object[] getObjectIds(Object[] pcs) Get object ids for an array ... See Also: PersistenceCapable.jdoGetTransactionalObjectId() PersistenceManager.getObjectById(Object oid
JDO Doc
8

javax.jdo.spi.StateInterrogation

) PersistenceCapable.jdoGetObjectId() PersistenceManager.getObjectById(Object oid, boolean validate ... (Object oid, boolean validate) Object getVersion(Object pc) Return the version of the parameter
Forum
6

Query can't see recently persisted object

and incorrectly thrown for the same "oid" query parameter on subsequent occasions within the same transaction ... = "MyQuery.findByOid", query = "select m from MyClass m where m.oid = :oid" ) } ) @Indices( { @Index( name = "MyClass_ind_1", members = { "oid" }, unique = "true