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=26966>. 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=26966 Connectionpool's connections always returns same Summary: Connectionpool's connections always returns same Product: Commons Version: 1.1 Final Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When we tried to implement a PreparedStatement cache we discovered that the hashCode method on a connection always returns the same id. It did so even if we got a new connection from the pool. The prepared statements are cached for each connection and therefore we need a unique id for the connection. Usually the method hashCode generates one for us. The problem exists in both version 1.0 and 1.1. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
