@Override
    public <U> JDOSQLQuery<U> select(Expression<U> expr) {
        queryMixin.setProjection(expr);
        @SuppressWarnings("unchecked") // This is the new type
        JDOSQLQuery<U> newType = (JDOSQLQuery<U>) this;
        return newType;
    }
{@code JDOSQLQuery} is a {@link SQLQuery} implementation that uses JDO's SQL query functionality
to execute queries

@author tiwe

@param <T> result type
querydsl-jdo/src/main/java/com/querydsl/jdo/sql/JDOSQLQuery.java