You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Maxim Solodovnik (Jira)" <ji...@apache.org> on 2026/08/20 08:07:00 UTC
[jira] [Created] (OPENJPA-2986) setTimeout(null) cannot clear a previously set query timeout
Maxim Solodovnik created OPENJPA-2986:
-----------------------------------------
Summary: setTimeout(null) cannot clear a previously set query timeout
Key: OPENJPA-2986
URL: https://issues.apache.org/jira/browse/OPENJPA-2986
Project: OpenJPA
Issue Type: Sub-task
Components: jpa
Affects Versions: 4.2.0
Reporter: Maxim Solodovnik
Fix For: 4.2.0
Discussion thread: https://github.com/apache/openjpa/pull/144#discussion_r3683006065
**(low)** `setTimeout(null)` is silently ignored, so once a timeout is set it can never be cleared through this API (and `getTimeout()` keeps returning the stale value). Should null reset the fetch plan's query timeout to its default?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)