[
https://issues.jboss.org/browse/WFLY-8530?page=com.atlassian.jira.plugin....
]
Jörg Bäsner closed WFLY-8530.
-----------------------------
Resolution: Duplicate
This bug has been closed, as it is being replaced with the upstream bug created in the
Hibernate Jira...
Wrong ZonedDateTime value read when attribute annotated with @Id
----------------------------------------------------------------
Key: WFLY-8530
URL:
https://issues.jboss.org/browse/WFLY-8530
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 10.1.0.Final
Reporter: Jörg Bäsner
Assignee: Scott Marlow
Attachments: playground-prj.tar.gz
A ZonedDateTime entity attribute annotated with @Id returns the wrong value when read
from the database. When the annotation @Id is not present, the value is returned
correctly.
The special timestamp of Germanys daylight saving in October 2017
"2017-10-29T02:00:00+02:00" is returned after read as follows:
* with @Id: 2017-10-29T02:00+*01:00*[Europe/Berlin] <- *WRONG*
* without @Id: 2017-10-29T02:00+*02:00*[Europe/Berlin] <- *CORRECT*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)