code: @Override
      public List<Object> findByRelation(String colName, Object colValue, Class entityClazz)
      {
  
          EntityMetadata entityMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entityClazz);
          Object[] ids = findIdsByColumn(entityMetadata.getTableName(), colName, colValue);
          List<Object> resultSet = new ArrayList<Object>();
          if (ids != null)
          {
              // just to insure uniqueness.
  
              for (Object id : new HashSet(Arrays.asList(ids)))
              {
                  resultSet.add(find(entityClazz, id));
              }
          }
  
          return resultSet;
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.client.Client#findByRelation(java.lang.String,
  java.lang.Object, java.lang.Class)