code: public static <T> JPQLQuery<T> selectFrom(EntityPath<T> expr) {
          return select(expr).from(expr);
      }
docs: Create a new detached JPQLQuery instance with the given projection
  
  @param expr projection and source
  @param <T>
  @return select(expr).from(expr)