public Q clone(StatelessSession session) {
        return this.clone(new StatelessSessionHolder(session));
    }
Clone the state of this query to a new instance with the given StatelessSession

@param session session
@return cloned query
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/AbstractHibernateQuery.java