diff --git a/src/main/java/fr/icdc/ebad/domain/Notification.java b/src/main/java/fr/icdc/ebad/domain/Notification.java index 1d74ce5..b76c0e4 100644 --- a/src/main/java/fr/icdc/ebad/domain/Notification.java +++ b/src/main/java/fr/icdc/ebad/domain/Notification.java @@ -40,7 +40,7 @@ public class Notification { @NotNull @CreatedDate @Column(nullable = false, name = "created_date") - @Convert(converter= Jsr310JpaConverters.LocalDateConverter.class) + @Convert(converter= Jsr310JpaConverters.LocalDateTimeConverter.class) private LocalDateTime createdDate = LocalDateTime.now(); @NotNull