[
https://issues.apache.org/jira/browse/OPENJPA-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314998#comment-17314998
]
ASF subversion and git services commented on OPENJPA-2860:
----------------------------------------------------------
Commit 044c7d27b1e787509d00837443511a9f76cbf6dc in openjpa's branch
refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=044c7d2 ]
OPENJPA-2860 PostgreSQL >= 10 supports setQueryTimeout
> [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
> Priority: Major
> 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)