code: public void retrieveReferences(Object newObj, ClassDescriptor cld, boolean forced) throws PersistenceBrokerException
      {
          Iterator i = cld.getObjectReferenceDescriptors().iterator();
  
          // turn off auto prefetching for related proxies
          final Class saveClassToPrefetch = classToPrefetch;
          classToPrefetch = null;
  
          pb.getInternalCache().enableMaterializationCache();
          try
          {
              while (i.hasNext())
              {
                  ObjectReferenceDescriptor rds = (ObjectReferenceDescriptor) i.next();
                  retrieveReference(newObj, cld, rds, forced);
              }
  
              pb.getInternalCache().disableMaterializationCache();
          }
          catch(RuntimeException e)
          {
              pb.getInternalCache().doLocalClear();
              throw e;
          }
          finally
          {
              classToPrefetch = saveClassToPrefetch;
          }
      }
docs: Retrieve all References
  
  @param newObj the instance to be loaded or refreshed
  @param cld the ClassDescriptor of the instance
  @param forced if set to true loading is forced even if cld differs.