You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/26 12:07:00 UTC

[jira] [Created] (OFBIZ-13733) Use the commons-pool2 Duration API in DBCPConnectionFactory and DebugManagedDataSource

Mridul Pathak created OFBIZ-13733:
-------------------------------------

             Summary: Use the commons-pool2 Duration API in DBCPConnectionFactory and DebugManagedDataSource
                 Key: OFBIZ-13733
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13733
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework/entity
    Affects Versions: Upcoming Branch
            Reporter: Mridul Pathak
            Assignee: Mridul Pathak


DBCPConnectionFactory and DebugManagedDataSource call six deprecated *Millis methods of BaseObjectPoolConfig and BaseGenericObjectPool, hidden by @SuppressWarnings("deprecation"). This moves them to the Duration-based methods (setTimeBetweenEvictionRuns, setMinEvictableIdle, setSoftMinEvictableIdle, setMaxWait, getMaxWaitDuration, getMinEvictableIdleDuration) and removes both suppressions.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)