@Override
    public JPAQuery<Integer> selectOne() {
        return select(Expressions.ONE);
    }
Factory class for query and DML clause creation

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