Jens Schauder opened DATAJDBC-637 and commented
Date like properties (as for example LocalDateTime) get converted to java.util.Date which only has millisecond precision. While LocalDateTime and java.sql.Timestamp have nanosecond precision.
Reference URL: https://stackoverflow.com/questions/64886345/spring-data-jdbc-microsecond-precision-lost-during-insert-of-localdatetime-type
Referenced from: pull request #255
Backported to: 2.1.3 (2020.0.3), 2.0.7 (Neumann SR7)