Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.9.0
-
None
Description
Passing true to BasicDataSource#setAbandonedUsageTracking(boolean usageTracking) has no effect because UsageTracking#use is never called.
From what I found, usageTracking can only work if the object pool is of type ProxiedObjectPool . Alas, BasicDataSource enforces GenericObjectPool concrete type preventing us from overriding BasicDataSource#createObjectPool to return a ProxiedObjectPool .
Is there something I missed or a workaround?