@Test public void null_values_are_read_as_nulls() { assertNull(new LocalDateConverter().convertToEntityAttribute(null)); }
@Override public LocalDate convertToEntityAttribute(Date date) { LOGGER.finest(() -> "Converting " + date + " to attrib"); if (null == date) { return null; } return date.toLocalDate(); }
LocalDateConverter implements AttributeConverter<LocalDate, Date> { @Override public LocalDate convertToEntityAttribute(Date date) { LOGGER.finest(() -> "Converting " + date + " to attrib"); if (null == date) { return null; } return date.toLocalDate(); } }
LocalDateConverter implements AttributeConverter<LocalDate, Date> { @Override public LocalDate convertToEntityAttribute(Date date) { LOGGER.finest(() -> "Converting " + date + " to attrib"); if (null == date) { return null; } return date.toLocalDate(); }  }
LocalDateConverter implements AttributeConverter<LocalDate, Date> { @Override public LocalDate convertToEntityAttribute(Date date) { LOGGER.finest(() -> "Converting " + date + " to attrib"); if (null == date) { return null; } return date.toLocalDate(); }  @Override Date convertToDatabaseColumn(LocalDate localDate); @Override LocalDate convertToEntityAttribute(Date date); }
LocalDateConverter implements AttributeConverter<LocalDate, Date> { @Override public LocalDate convertToEntityAttribute(Date date) { LOGGER.finest(() -> "Converting " + date + " to attrib"); if (null == date) { return null; } return date.toLocalDate(); }  @Override Date convertToDatabaseColumn(LocalDate localDate); @Override LocalDate convertToEntityAttribute(Date date);  }