diff --git a/curriculumsearch/src/main/java/com/roshka/utils/Helper.java b/curriculumsearch/src/main/java/com/roshka/utils/Helper.java index 0c3ae5e..18adb78 100644 --- a/curriculumsearch/src/main/java/com/roshka/utils/Helper.java +++ b/curriculumsearch/src/main/java/com/roshka/utils/Helper.java @@ -32,6 +32,7 @@ public class Helper { } public static final long getMonthsDifference(Date date1, Date date2) { + if(date2==null) date2 = new Date(); YearMonth m1 = YearMonth.from(date1.toInstant().atZone(ZoneOffset.UTC)); YearMonth m2 = YearMonth.from(date2.toInstant().atZone(ZoneOffset.UTC)); diff --git a/curriculumsearch/src/main/resources/application.properties b/curriculumsearch/src/main/resources/application.properties index e718a77..5af5256 100644 --- a/curriculumsearch/src/main/resources/application.properties +++ b/curriculumsearch/src/main/resources/application.properties @@ -1,10 +1,10 @@ spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect -spring.jpa.show-sql=true -spring.jpa.properties.hibernate.format_sql=true -logging.level.org.hibernate.SQL=DEBUG -logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE +#spring.jpa.show-sql=true +#spring.jpa.properties.hibernate.format_sql=true +#logging.level.org.hibernate.SQL=DEBUG +#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE spring.sql.init.mode=always spring.sql.init.platform=postgres diff --git a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp index 35a66a2..b56aa02 100644 --- a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp +++ b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp @@ -306,10 +306,7 @@
Estado
${detalle_estudios.getEstado()} -
  • -
    SubNombre
    - ${detalle_estudios.getInstitucion().getSubNombre()} -
  • +