code: public static <E> OqlBuilder<E> from(final Class<E> entityClass) {
      EntityType type = Model.getType(entityClass.getName());
      if (null == type) type = Model.getType(entityClass);
      return from(entityClass, EntityUtils.getCommandName(type.getEntityName()));
    }
docs: from.
  
  @param entityClass a {@link java.lang.Class} object.
  @param <E> a E object.
  @return a {@link org.beangle.commons.dao.query.builder.OqlBuilder} object.