@Override
    public void setValue(PreparedStatement st, int startIndex, LocalDate value) throws SQLException {
        st.setDate(startIndex, new Date(value.toDateTimeAtStartOfDay(DateTimeZone.UTC).getMillis()), utc());
    }
{@code LocalDateType} maps {@linkplain org.joda.time.LocalDate}
to {@linkplain java.sql.Date} on the JDBC level

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