@Override
    public boolean wrapConstant(Object constant) {
        // HHH-6913 is fixed in 5.0, default to JPA behaviour
        return false;
    }
Hibernate5Templates extends {@link JPQLTemplates} with Hibernate specific extensions

@author Jan-Willem Gmelig Meyling
querydsl-jpa/src/main/java/com/querydsl/jpa/Hibernate5Templates.java