@Override
 public LocalDate convertToEntityAttribute(java.sql.Date date) {
   return date == null ? null : date.toLocalDate();
 }
 @Override
 public java.sql.Date convertToDatabaseColumn(LocalDate date) {
   return date == null ? null : java.sql.Date.valueOf(date);
 }