@Test public void toNonNullValue__it_should_return_the_same_string_representation(){ LocalDate localDate = new LocalDate(YEAR, MONTH, DAY); Date date = dateColumnMapper.toNonNullValue(localDate); assertThat("asString ", date.toString(), is(localDate.toString())); }
@Override public Date toNonNullValue(LocalDate value) { Date date = Date.valueOf(value.toString()); return date; }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public Date toNonNullValue(LocalDate value) { Date date = Date.valueOf(value.toString()); return date; } }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public Date toNonNullValue(LocalDate value) { Date date = Date.valueOf(value.toString()); return date; }  }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public Date toNonNullValue(LocalDate value) { Date date = Date.valueOf(value.toString()); return date; }  @Override LocalDate fromNonNullValue(Date value); @Override LocalDate fromNonNullString(String s); @Override Date toNonNullValue(LocalDate value); @Override String toNonNullString(LocalDate value); }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public Date toNonNullValue(LocalDate value) { Date date = Date.valueOf(value.toString()); return date; }  @Override LocalDate fromNonNullValue(Date value); @Override LocalDate fromNonNullString(String s); @Override Date toNonNullValue(LocalDate value); @Override String toNonNullString(LocalDate value);  }