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

[Postgres] use setQueryTimeout for PostgreSQL >= 10

    XMLWordPrintableJSON

Details

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

    Description

      PostgreSQL JDBC driver did not support setQueryTimeout properly for a quite long time. But since v10 it is working fine. We can thus enable DBDictionary#supportsQueryTimeout for PostgresDictionary and only disable it if majorVersion < 10.

      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: