code: private void assignReferenceToProxy(List results)
      {
          if (results != null)
          {
              for (Object obj : results)
              {
                  kunderaMetadata.getCoreMetadata().getLazyInitializerFactory().setProxyOwners(getEntityMetadata(), obj);
              }
          }
      }
docs: If returned collection of object holds a reference to.
  
  @param results
  the results