You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/10/31 00:59:17 UTC

[jira] Commented: (DBCP-199) The last used time in AbandonedTrace should be updated more frequently.

    [ http://issues.apache.org/jira/browse/DBCP-199?page=comments#action_12445738 ] 
            
Henri Yandell commented on DBCP-199:
------------------------------------

Is this planned for the next DBCP release? 1.2.2? 1.3?

> The last used time in AbandonedTrace should be updated more frequently.
> -----------------------------------------------------------------------
>
>                 Key: DBCP-199
>                 URL: http://issues.apache.org/jira/browse/DBCP-199
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.2.1
>            Reporter: Kevin Ruland
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org