Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
1.2.1
-
None
Description
The current implementation of DelegatingConnection only updates the last used timestamp in the AbandonedTrace base class when the connection is activated. This can cause the abandoned connection logic to fail if a connection is created and held onto for a long time. I suggest the abandondedTrace.setLastUsed() method be called from various methods in DelegatingConnection to refresh this time. An incomplete list of methods would include those that create and prepare statements and execute sql.