@Override
    public Query<?> createQuery(String queryString) {
        return session.createQuery(queryString);
    }
SessionHolder implementation using StatelessSession

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/StatelessSessionHolder.java