code: @Override
      public <E> List<E> find(Class<E> entityClass, Map<String, String> col)
      {
          EntityMetadata entityMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, getPersistenceUnit(),
                  entityClass);
          List<E> entities = new ArrayList<E>();
          Map<String, Field> columnFamilyNameToFieldMap = MetadataUtils.createSuperColumnsFieldMap(entityMetadata,
                  kunderaMetadata);
          for (String columnFamilyName : col.keySet())
          {
              String entityId = col.get(columnFamilyName);
              if (entityId != null)
              {
                  E e = null;
                  try
                  {
                      List results = new ArrayList();
                      fetchEntity(entityClass, entityId, entityMetadata, entityMetadata.getRelationNames(),
                              entityMetadata.getSchema(), results, null, null);
                      if (results != null)
                      {
                          e = (E) results.get(0);
                      }
                  }
                  catch (IOException ioex)
                  {
                      log.error("Error during find for embedded entities, Caused by: .", ioex);
  
                      throw new KunderaException(ioex);
                  }
  
                  Field columnFamilyField = columnFamilyNameToFieldMap.get(columnFamilyName.substring(0,
                          columnFamilyName.indexOf("|")));
                  Object columnFamilyValue = PropertyAccessorHelper.getObject(e, columnFamilyField);
                  if (Collection.class.isAssignableFrom(columnFamilyField.getType()))
                  {
                      entities.addAll((Collection) columnFamilyValue);
                  }
                  else
                  {
                      entities.add((E) columnFamilyValue);
                  }
              }
          }
          return entities;
      }
docs: (non-Javadoc).
  
  @param <E>
  the element type
  @param entityClass
  the entity class
  @param col
  the col
  @return the list
  @see com.impetus.kundera.client.Client#find(java.lang.Class,
  java.util.Map)