@@ -0,0 +1,584 @@
+package es.uv.etse.bdweb.hotel.domain;%0A%0Aimport java.sql.Date;%0Aimport java.time.LocalDate;%0A%0Aimport javax.persistence.AttributeConverter;%0Aimport javax.persistence.Converter;%0A%0A@Converter(autoApply = true)%0Apublic class LocalDateAttributeConverter implements AttributeConverter%3CLocalDate, Date%3E %7B%0A%09%0A    @Override%0A    public Date convertToDatabaseColumn(LocalDate locDate) %7B%0A    %09return (locDate == null ? null : Date.valueOf(locDate));%0A    %7D%0A%0A    @Override%0A    public LocalDate convertToEntityAttribute(Date sqlDate) %7B%0A    %09return (sqlDate == null ? null : sqlDate.toLocalDate());%0A    %7D%0A%7D%0A

change package