code: @Override
      public <E> List<E> findAll(Class<E> entityClazz, String[] columnsToSelect, Object... arg1)
      {
          // TODO: Vivek correct it. unfortunately i need to open a new session
          // for each finder to avoid lazy loading.
          Session s = getSession();
  
          EntityMetadata entityMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, getPersistenceUnit(),
                  entityClazz);
  
          Object[] pKeys = getDataType(entityMetadata, arg1);
          String id = ((AbstractAttribute) entityMetadata.getIdAttribute()).getJPAColumnName();
  
          Criteria c = s.createCriteria(entityClazz);
  
          c.add(Restrictions.in(id, pKeys));
  
          return c.list();
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.client.Client#find(java.lang.Class,
  java.lang.String[])