I have a problem with a timestamp field which is mapped to a LocalDateTime. We don ’ ' t use UTC times in the database. Therefor, I expect the timestamp in the database to be equal to the value in the LocalDateTime.
The problem is that the conversion from a Timestamp to a LocalDateTime in LocalDateTimeJavaDescriptor uses the default timezone. For some reasons, this makes the two timestamps differ for timestamps before January 2, 1900.
I attached a testcase which shows the issue. |
|