You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/07/10 12:18:26 UTC

DO NOT REPLY [Bug 21458] New: - Statements and connections don't implement equals()/hashCode

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21458>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21458

Statements and connections don't implement equals()/hashCode

           Summary: Statements and connections don't implement
                    equals()/hashCode
           Product: Commons
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jbeau@noos.fr


This makes impossible to put-then-find again such statements/connection in a
Collection or Map based on their equality (this works with standard
java.sql.PreparedStatements for example).

equals() and hashCode() should be added and delegate to the encapsulted
statements (at least).

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