Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13935

[GSS] (7.1.z) HHH-10399 Add support for specifying TimeZone for ZonedDateTime type

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • 7.0.5.GA
    • Hibernate
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: