@Override
    public String getLiteral(Date value) {
        return dateFormatter.format(value.toLocalDate());
    }
{@code DateType} maps Date to Date on the JDBC level

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/types/DateType.java