| I've pushed a test case to my fork that persists entities with a ZonedDateTime attribute near the end of daylight savings time: https://github.com/gbadner/hibernate-core/commit/a09709a406557028f0d6ccabfaa99ce17945452c I am in "America/Vancouver" timezone and I tried running the test locally using MySQL set to the same time zone. Here are the loggable representations of the times tested. Bound as: 2017-11-05T00:00-07:00[America/Vancouver] Extracted as: 2017-11-05T00:00-07:00[America/Vancouver] (correct) Bound as: 2017-11-05T01:00-07:00[America/Vancouver] Extracted as: 2017-11-05T01:00-08:00[America/Vancouver] (wrong!!!) Bound as: 2017-11-05T01:00-08:00[America/Vancouver] Extracted as: 2017-11-05T01:00-08:00[America/Vancouver] (correct) I did not create a pull request because DST end will depend on the time zone where it is run. For example, end of DST in 'Europe/Berlin' will be 2017-10-29 at 3am. Joann mentioned a bug in OpenJDK that could be responsible for this: https://bugs.openjdk.java.net/browse/JDK-8149540. |