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