Skip to content

Support nanosecond precision by converting to Timestamp instead of Date [DATAJDBC-637] #855

@spring-projects-issues

Description

@spring-projects-issues

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions