Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2854

fix OffsetTime handling for PostgreSQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.2.0
    • jdbc
    • None

    Description

      PostgreSQL doesn't natively support OffsetTime. While it has a column type time with time zone it actually only stores the time as UTC time.

      On the JDBC level we need to use java.sql.Time with the servers local offset. The rest will be converted automatically inside the JDBC driver.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: