@Override
    public String getLiteral(Date value) {
        return dateTimeFormatter.format(new java.sql.Timestamp(value.getTime()).toLocalDateTime());
    }
{@code UtilDateType} maps Date to Timestamp on the JDBC level

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