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

[Postgres] use setQueryTimeout for PostgreSQL >= 10

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.2.0
    • Component/s: jdbc
    • Labels:
      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

            • Assignee:
              struberg Mark Struberg
              Reporter:
              struberg Mark Struberg

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment