Home » Search

About oid

1-10 of 58Refresh
JDO Doc
70

getObjectById(oid, validate)

Method javax.jdo.PersistenceManager Object getObjectById(   Object oid,   boolean validate ... . The oid parameter object might have been returned by an earlier call to getObjectId or ... to resolve the oid parameter to an ObjectId instance, then it throws a JDOUserException
Manual
68

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.
JDO Doc
66

copyKeyFieldsFromObjectId(pcClass, fm, oid)

,   ObjectIdFieldConsumer fm,   Object oid ) Copy fields to an outside source from the key fields in the ObjectId ... (PersistenceCapable oid, ObjectIdFieldConsumer fm) { fm.storeIntField (0, oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary); } The implementation is responsible
JDO Doc
66

copyKeyFieldsToObjectId(pcClass, fm, oid)

,   ObjectIdFieldSupplier fm,   Object oid ) Copy fields from an outside source to the key fields in the ObjectId ... oid, ObjectIdFieldSupplier fm) { oid.id = fm.fetchIntField (0); oid.name = fm.fetchStringField (1); oid.salary = fm.fetchObjectField (2); } The implementation is responsible for implementing
JDO Doc
66

jdoCopyKeyFieldsFromObjectId(fm, oid)

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

jdoCopyKeyFieldsToObjectId(fm, oid)

,   Object oid ) Copy fields from an outside source to the key fields in the ObjectId. This method ... (ObjectIdFieldSupplier fm, Object objectId) { EmployeeKey oid = (EmployeeKey)objectId; oid.id = fm.fetchIntField (0); oid.name = fm.fetchStringField (1); oid.salary = fm.fetchObjectField (2); } The implementation
JDO Doc
65

getObjectsById(oids)

Method javax.jdo.PersistenceManager Collection getObjectsById(   Collection oids ) Return the objects with the given oids. This method is equivalent to calling getObjectsById(Collection, boolean) with the validate flag true. Parameters: oids - the oids of the objects to return Returns: the objects
JDO Doc
65

getObjectsById(oids)

Method javax.jdo.PersistenceManager Object[] getObjectsById(   Object... oids ) Return the objects with the given oids. This method is equivalent to calling getObjectsById(boolean,Object...) with the validate flag true. Parameters: oids - the oids of the objects to return Returns: the objects
JDO Doc
65

getObjectsById(oids, validate)

Method javax.jdo.PersistenceManager Collection getObjectsById(   Collection oids,   boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return ... : the objects that were looked up, in the same order as the oids parameter. Since: JDO 2.0 See Also: getObjectById(Object,boolean)
JDO Doc
65

getObjectsById(oids, validate)

Method javax.jdo.PersistenceManager Object[] getObjectsById(   Object[] oids,   boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return ... that were looked up, in the same order as the oids parameter. Since: JDO 2.0 See Also: getObjectById(Object,boolean) getObjectsById(boolean,Object...)