* so that alterations to those related objects will trigger an object to be
* marked "dirty", otherwise attaching or detaching a 1:1 referenced object will
* not be updated in ODMG.
*/
Iterator iter = mif.getObjectReferenceDescriptors().iterator();
ObjectReferenceDescriptor rds = null;
while(iter.hasNext())
{
Object referenceObject = null;
EqualsRefHelper erh;
rds = (ObjectReferenceDescriptor) iter.next();
/*
* synchronize on myObj so the ODMG-layer can take a snapshot only of
* fully cached (i.e. with all references + collections) objects
*/
synchronized(myObj)
{
referenceObject = rds.getPersistentField().get(myObj);
}
/**
* MBAIRD
* In the case of a proxy, we check if it has been materialized
* if it's been materialized, we put it in the map, because it could change.