[jboss-jira] [JBoss JIRA] (WFLY-8530) Wrong ZonedDateTime value read when attribute annotated with @Id
Jörg Bäsner (JIRA)
issues at jboss.org
Fri Apr 7 04:36:00 EDT 2017
Jörg Bäsner created WFLY-8530:
---------------------------------
Summary: 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)
More information about the jboss-jira
mailing list