@Override
    public <T> JPAQuery<T> selectFrom(EntityPath<T> from) {
        return select(from).from(from);
    }
Factory class for query and DML clause creation

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/impl/JPAQueryFactory.java