Mysql – LocalDateTime format ok in JSON, not ok in database
I want to format date-times in a SpringBoot REST API I'm building in the format "dd/MM/yyyy HH:mm:ss.SSS". So I've put it in a global constant: public static final String GLOBAL_DATE_TIME_PATTERN = "dd/MM/yyyy HH:mm:ss.SSS"; and I've annotated my DTO's LocalDateTime field:…