You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2021/04/05 16:17:00 UTC

[jira] [Created] (OPENJPA-2860) [Postgres] use setQueryTimeout for PostgreSQL >= 10

Mark Struberg created OPENJPA-2860:
--------------------------------------

             Summary: [Postgres] use setQueryTimeout for PostgreSQL >= 10
                 Key: OPENJPA-2860
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2860
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 3.1.2
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 3.1.3


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)